upgrade
Upgrade the installed ingrain binary to the latest published release.
ingrain upgradeThe upgrade fetches the latest release manifest from the install proxy at
cli.ingrainlabs.dev (configurable via
[upgrade].proxyUrl or the INGRAIN_PROXY_URL
env var), verifies the new binary’s SHA-256 against the manifest, and swaps
it into place atomically.
| Flag | Description |
|---|---|
--check | Report whether an upgrade is available; do not install. Exits 0 when up-to-date, 1 when a newer (or older, with --target) release is available. Useful for scripting. |
--force | Reinstall even when already on the target version. |
--yes | Skip the [y/N] confirmation prompt. |
--target <X.Y.Z> | Install a specific semver release instead of latest. Accepts upgrades, downgrades, or reinstalls. |
See also
Section titled “See also”[upgrade]configuration — change the proxy URL.