gb update
Update CLI to the latest version.
Synopsis
gb update [options]
gb upgrade [options]Description
Updates the Genbox CLI to the latest version. Checks for updates and installs if available.
Options
| Option | Description |
|---|---|
--check | Only check for updates, don’t install |
--force | Force update even if current |
Examples
Update CLI
gb updateCheck Only
gb update --checkForce Update
gb update --forceOutput
Update Available
Checking for updates...
Current version: 1.0.130
Latest version: 1.0.135
Updating...
✓ Downloaded genbox@1.0.135
✓ Installed globally
Updated to 1.0.135!
What's new:
• Improved database sync performance
• New 'gb template' command
• Bug fixes for port forwardingAlready Current
Checking for updates...
Current version: 1.0.135
Latest version: 1.0.135
You're running the latest version!Update Methods
The update command uses the same package manager as your installation:
| Installed via | Update command |
|---|---|
| npm | npm update -g genbox |
| pnpm | pnpm update -g genbox |
| yarn | yarn global upgrade genbox |
Manual Update
If auto-update fails:
# npm
npm install -g genbox@latest
# pnpm
pnpm add -g genbox@latestNotes
- Run periodically to stay current
- Major versions may have breaking changes
- Check changelog for notable changes
--forcebypasses version check
See Also
gb doctor- Check for issuesgb --version- Show current version- Changelog - Version history
Last updated on