OpenBee
User Guide

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 upgrade

This command will:

  1. Fetch the latest version from GitHub releases
  2. Download the appropriate binary for your platform
  3. Verify the SHA256 checksum
  4. Replace the existing binary in place

To check if a new version is available without upgrading:

openbee upgrade --check

If 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/cli

Upgrade 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 | bash

Upgrade via Package Manager

macOS (Homebrew):

brew upgrade theopenbee/tap/openbee

Windows (Scoop):

scoop update openbee

Verify the Upgrade

After upgrading, verify the new version:

openbee --version

Update Configuration

After upgrading the binary, run the following command to update your system configuration, as new versions may introduce configuration changes:

openbee config

The 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.

On this page