Skip to content

feat: Add bun support to upgrade command#755

Merged
coffee-cup merged 1 commit intomasterfrom
jr/upgrade-bun-support
Jan 8, 2026
Merged

feat: Add bun support to upgrade command#755
coffee-cup merged 1 commit intomasterfrom
jr/upgrade-bun-support

Conversation

@coffee-cup
Copy link
Copy Markdown
Contributor

Add bun as a supported installation method in the upgrade command. Users who installed via bun install -g @railway/cli can now auto-upgrade with railway upgrade.

  • Add Bun variant to InstallMethod enum
  • Detect bun by checking for .bun in binary path (before npm check, since bun uses node_modules internally)
  • Auto-upgrade runs bun update -g @railway/cli
  • Add bun to manual upgrade instructions

Detect bun global installs by checking for .bun in path. Check must
come before npm since bun uses node_modules internally.
@coffee-cup coffee-cup added the release/patch Author patch release label Jan 8, 2026
@coffee-cup coffee-cup merged commit 3c6f475 into master Jan 8, 2026
6 of 7 checks passed
@coffee-cup coffee-cup deleted the jr/upgrade-bun-support branch January 8, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Author patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant