Skip to content

FR-7467: show the upgrade command in the update notice - #39

Merged
frank-laemmer merged 1 commit into
mainfrom
fr-7467-upgrade-command-in-update-notice
Nov 20, 2026
Merged

frank-laemmer merged 1 commit into
mainfrom
fr-7467-upgrade-command-in-update-notice

Conversation

@frank-laemmer

Copy link
Copy Markdown
Member

🤖

  • The "Update available" notice prints the upgrade command for the install method, read from the binary's path:
    • Homebrew (Cellar/frbit): brew upgrade frbit
    • Global npm (<prefix>/lib/node_modules with <prefix>/bin/frbit): npm install --global @fortrabbit/cli@latest
    • Install script (~/.local/bin, /usr/local/bin, writable): curl … | FRBIT_INSTALL_DIR=<dir> sh
  • Anything else (npx, pnpm, Volta, mise, Nix, unwritable folder, Windows) links to /platform/automation/cli/install#updates, not the old /platform/concepts/cli redirect.
  • frbit doctor uses the same hint as its fix.
  • install.sh suggests npm install --global …@latest: npm update --global stays below the next major version.
  • go test ./..., scripts/test-install.sh and Windows/wasip1 builds pass. Five /code-review high rounds, remaining findings are nits.

🤖 Generated with Claude Code
🤖

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frank-laemmer
frank-laemmer merged commit 26b91ae into main Nov 20, 2026
2 checks passed
@frank-laemmer
frank-laemmer deleted the fr-7467-upgrade-command-in-update-notice branch November 26, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant