Installation
The Ingrain CLI ships as a single self-contained binary.
Prerequisites
Section titled “Prerequisites”- macOS, Linux, or Windows (x86_64 or arm64; Windows is x86_64 only).
- An install token in
INGRAIN_INSTALL_TOKEN, or available to paste when the script prompts. Prebuilt binaries are currently distributed through a gated proxy atcli.ingrainlabs.dev; tokens are shared out of band until public binary releases are available.
Install
Section titled “Install”The install scripts are served by cli.ingrainlabs.dev. Set your install token, then run the one-liner for your platform.
macOS / Linux
Section titled “macOS / Linux”export INGRAIN_INSTALL_TOKEN=<your-token>curl -fsSL https://cli.ingrainlabs.dev/install.sh | shWindows (PowerShell)
Section titled “Windows (PowerShell)”$env:INGRAIN_INSTALL_TOKEN = "<your-token>"irm https://cli.ingrainlabs.dev/install.ps1 | iexThe installer downloads the latest release binary, verifies its SHA-256 sum
against the release manifest, and places ingrain on your PATH.
Verify the install
Section titled “Verify the install”ingrain --helpPrints Usage: ingrain ... and the available subcommands. If it errors
instead, see Troubleshooting below.
Upgrade
Section titled “Upgrade”Once installed, the CLI manages its own upgrades:
ingrain upgradeThis re-fetches the latest release through the same install proxy. See the
upgrade command for flags and the
[upgrade] config section for customising the
proxy URL.
Uninstall
Section titled “Uninstall”ingrain uninstallRemoves the ingrain binary and its PATH entry. Your ~/.ingrain/
directory is left in place — conf.toml and any session data are preserved
so you do not lose your settings if you reinstall. Delete it by hand if you
want a clean wipe.
Troubleshooting
Section titled “Troubleshooting”401 Unauthorizedwhen running the install script — the token inINGRAIN_INSTALL_TOKENis missing, expired, or malformed. Obtain a fresh one out of band.ingrain: command not foundafter install — the installer wrote the binary to your install dir but the shell hasn’t picked it up. Open a new shell orsourceyour profile.