CLICommands
ox upgrade
Detect how ox was installed and upgrade using the matching method: Homebrew, go install, or an in-place download that verifies and replaces the binary.
Usage
terminal
$
Examples
Pin the upgrade to a specific release tag instead of the latest:
terminal
$
Report the result as JSON:
terminal
$
Flags
| Flag | Description |
|---|---|
--target <tag> | Pin the upgrade to a specific version tag (e.g. v0.18.0); empty means the latest release from the GitHub releases API |
--json | Output the result as JSON |
What's next
- ox version - Confirm the version after upgrading
- ox release-notes - See what changed in the new version

