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
| Option | Description |
|---|---|
--check | Report 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.
--checkreports 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.10See also
box update— update engine packages inside a box.- Box CLI → Install.