box upgrade

Upgrade the Box CLI binary itself.

box upgrade [--check] [--version <version>]

Synopsis

box upgrade updates the installed CLI binary from the Potter GitHub releases / Homebrew tap.

Options

OptionDescription
--checkReport the latest available version without installing.
--version <version>Install a specific version instead of the latest.

Behavior

  • With no options, upgrades to the latest released CLI version.
  • --check reports the latest version without changing anything.
  • --version <version> installs the specified version.
  • On Apple Silicon macOS, the binary is managed at /opt/homebrew/bin/box.

box upgrade updates the CLI binary. To update the entitled @withpotter/* engine packages inside a box, use box update.

Examples

# Upgrade to the latest version
box upgrade
 
# Check the latest version without installing
box upgrade --check
 
# Pin a specific version
box upgrade --version 0.1.0-alpha.10

See also