Installation
offrig ships as a single native CLI binary paired with statically linked linux-musl offrigd Worker sidecars (x86_64 and aarch64) verified by SHA-256 before launch inside any Sandbox.
Shell installer (recommended — macOS & Linux)
Section titled “Shell installer (recommended — macOS & Linux)”Installs bin/offrig and SHA-256-verified Linux offrigd sidecars into ~/.local by default:
curl -fsSL https://offrig.dev/install.sh | bashoffrig doctorOverride the install prefix or pin an explicit release tag with environment variables:
OFFRIG_PREFIX=/usr/local OFFRIG_VERSION=v0.2.0 \ curl -fsSL https://offrig.dev/install.sh | bashEnsure ~/.local/bin (or $OFFRIG_PREFIX/bin) is on your PATH.
Homebrew (macOS & Linux)
Section titled “Homebrew (macOS & Linux)”Also bundles offrig alongside both verified Linux offrigd sidecars:
brew install spiritledsoftware/tap/offrigoffrig doctorCargo (crates.io)
Section titled “Cargo (crates.io)”cargo install --locked offrigPrebuilt GitHub Release Archives
Section titled “Prebuilt GitHub Release Archives”Download offrig-v<version>-<target>.tar.gz from GitHub Releases for:
aarch64-apple-darwinx86_64-apple-darwinaarch64-unknown-linux-muslx86_64-unknown-linux-musl
Each archive contains bin/offrig, libexec/offrigd-linux-x86_64, libexec/offrigd-linux-aarch64, and libexec/offrigd.sha256.
Updating
Section titled “Updating”For standalone installs (from install.sh or a prebuilt release archive), check for or apply updates directly:
offrig update --checkoffrig updatePin a specific release tag (including prereleases or explicit downgrades) with --version vX.Y.Z, or pass --json for structured output. offrig update verifies SHA-256 checksums and Linux offrigd ELF sidecars, smoke-tests the staged binary, atomically swaps sidecars before bin/offrig with rollback on error, and cleanly stops an idle Local daemon without interrupting active Runs.
Installations managed by Homebrew, Cargo, Nix, mise, asdf, aqua, or a system package manager are detected automatically and left to their manager (for example brew upgrade offrig or cargo install --locked offrig), while offrig update --check still reports available releases read-only.
On interactive terminals, offrig checks for newer releases in the background once every 24 hours and prints a single-line notice to stderr after commands finish when an update is available. Disable passive notices globally with [update] notify = false in ~/.config/offrig/config.toml, or per environment with OFFRIG_NO_UPDATE_NOTIFIER=1 or DO_NOT_TRACK=1.
Verify your setup
Section titled “Verify your setup”Run the read-only diagnostic checklist:
offrig doctorFor offline or sandboxed environments (skipping live Rig probes):
offrig doctor --offline --jsonNext: continue to the Quickstart.