hyperframes upgrade
Self-update the HyperFrames CLI to the latest stable or canary release, or check whether an upgrade is available.
hyperframes upgrade updates the CLI in place. It replaces the binary that invoked it and, if a project is in scope, bumps the version pin in package.json. Determinism is per-version, so plan upgrades like you would any encoder bump.
Synopsis
bash
hyperframes upgrade [flags]When run inside a project, the local install is updated. When run globally (-g), the global install is updated.
Flags
| Flag | Default | Meaning |
|---|---|---|
--channel <name> | stable | Release channel: stable | canary. |
--check | off | Print the latest version without installing. |
--to <version> | latest | Pin to a specific version, e.g. --to 1.4.0. |
--no-pin | off | Skip updating package.json after a project upgrade. |
Common invocations
$ hyperframes upgrade --check
current 1.4.2
latest 1.5.0 (stable)
run "hyperframes upgrade" to installJSON output
json
{
"command": "upgrade",
"status": "ok",
"exit_code": 0,
"channel": "stable",
"from": "1.4.2",
"to": "1.5.0",
"pinned": true,
"duration_ms": 3120
}--check returns the same shape with status: "available" (or "current") and no install side effects.
Exit codes
0— upgrade complete, or already on the latest version.1— network failure, permission denied, or the requested version does not exist.
Tips
- Always run
hyperframes lintand your golden-file tests after an upgrade. A new encoder default can change every byte. - In CI, prefer a hard
--to <version>so the build is reproducible regardless of when it runs. --checkis the onlyupgradeinvocation that is side-effect free. Wire it into a weekly bot for nudges.- The CLI never auto-upgrades itself. Every change to the binary is driven by an explicit
upgradecall.
Next
- HyperFrames CLI — full command index.
hyperframes doctor— verify the new install before you ship.