Synopsis
Shell
$ phrony upgrade [--check] [--version VERSION] [-y]Description
Fetches the latest release from the Go module proxy and reinstalls the operator CLI with go install. Requires the Go toolchain on PATH. Does not contact the runtime.
When you run a runtime-backed command with a mismatched CLI version, the CLI prints a colored warning (disabled when NO_COLOR is set). Use phrony upgrade to align the CLI with your runtime release.
Flags
| Flag | Description |
|---|---|
--check | Report whether an update is available; exit 0 either way |
--version VERSION | Install a specific tag (for example v0.3.0) instead of @latest |
-y, --yes | Skip the confirmation prompt before installing |
Examples
Check for updates without installing:
Shell
$ phrony upgrade --checkInstall the latest release:
Shell
$ phrony upgradeInstall a specific version without prompting:
Shell
$ phrony upgrade --version v0.3.0 -yUp next
status
Verify CLI and runtime versions after upgrading.