Upgrade
Upgrade OpenBee to the latest version
Upgrade via Built-in Command
OpenBee includes a built-in upgrade command that automatically downloads and installs the latest version:
openbee upgradeThis command will:
- Fetch the latest version from GitHub releases
- Download the appropriate binary for your platform
- Verify the SHA256 checksum
- Replace the existing binary in place
To check if a new version is available without upgrading:
openbee upgrade --checkIf OpenBee is installed in a system directory (e.g., /usr/local/bin), you may need to run the upgrade command with sudo.
Upgrade via npm
If you installed OpenBee via npm, upgrade with:
npm install -g @theopenbee/cliUpgrade via Script
Re-run the install script to upgrade to the latest version:
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/theopenbee/openbee/main/install.sh | bashUpgrade via Package Manager
macOS (Homebrew):
brew upgrade theopenbee/tap/openbeeWindows (Scoop):
scoop update openbeeVerify the Upgrade
After upgrading, verify the new version:
openbee --versionUpdate Configuration
After upgrading the binary, run the following command to update your system configuration, as new versions may introduce configuration changes:
openbee configThe upgrade only updates the binary. Your configuration file and database are not modified. Always run openbee config after upgrading to ensure your configuration is up to date with the new version.