Skip to content

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.

Section titled “Shell installer (recommended — macOS & Linux)”

Installs bin/offrig and SHA-256-verified Linux offrigd sidecars into ~/.local by default:

Terminal window
curl -fsSL https://offrig.dev/install.sh | bash
offrig doctor

Override the install prefix or pin an explicit release tag with environment variables:

Terminal window
OFFRIG_PREFIX=/usr/local OFFRIG_VERSION=v0.2.0 \
curl -fsSL https://offrig.dev/install.sh | bash

Ensure ~/.local/bin (or $OFFRIG_PREFIX/bin) is on your PATH.

Also bundles offrig alongside both verified Linux offrigd sidecars:

Terminal window
brew install spiritledsoftware/tap/offrig
offrig doctor
Terminal window
cargo install --locked offrig

Download offrig-v<version>-<target>.tar.gz from GitHub Releases for:

  • aarch64-apple-darwin
  • x86_64-apple-darwin
  • aarch64-unknown-linux-musl
  • x86_64-unknown-linux-musl

Each archive contains bin/offrig, libexec/offrigd-linux-x86_64, libexec/offrigd-linux-aarch64, and libexec/offrigd.sha256.

For standalone installs (from install.sh or a prebuilt release archive), check for or apply updates directly:

Terminal window
offrig update --check
offrig update

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

Run the read-only diagnostic checklist:

Terminal window
offrig doctor

For offline or sandboxed environments (skipping live Rig probes):

Terminal window
offrig doctor --offline --json

Next: continue to the Quickstart.