CLI & APICommand reference
stackblaze upgrade
Download and install the latest CLI binary
Usage: stackblaze upgrade [options]
Download and install the latest CLI binary
Options:
--version <tag> Specific version (e.g. 0.1.0)
--channel <name> Release channel: stable (default) or dev (prereleases
from the dev branch)
--oras Pull from ghcr.io via oras instead of GitHub Releases
--install-path <path> Target binary path (default: current executable)
-h, --help Print helpExample
Update the CLI to the latest stable release. It replaces the binary you ran:
stackblaze upgradeTarget: /tmp/home/bin/stackblaze
OK Already up to date (v1.1.21, latest stable release).
Pass --version 1.1.21 to install that release anyway.Install one release, to another path:
stackblaze upgrade --version 1.1.21 --install-path /tmp/home/bin/stackblazeTarget: /tmp/home/bin/stackblaze
OK Upgraded /tmp/home/bin/stackblaze
Version: 1.1.21