Skip to content

upgrade

Upgrade the installed ingrain binary to the latest published release.

Terminal window
ingrain upgrade

The 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.

FlagDescription
--checkReport 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.
--forceReinstall even when already on the target version.
--yesSkip the [y/N] confirmation prompt.
--target <X.Y.Z>Install a specific semver release instead of latest. Accepts upgrades, downgrades, or reinstalls.