fortrabbit CLI
Reviewed
⌨️
Your fortrabbit account, one command away.
The frbit command-line interface accesses the fortrabbit public API from local terminals, agents, scripts, and continuous-integration jobs.
Install script
The install script is the recommended method on macOS and Linux:
curl -fsSL https://github.com/fortrabbit/frbit-cli/releases/latest/download/install.sh | sh
It detects your operating system and CPU architecture, downloads the matching
GitHub release, verifies its SHA-256 checksum, and installs frbit in
~/.local/bin. When run as root, it uses /usr/local/bin instead.
Install a specific release or choose another destination by passing an
environment variable to sh:
curl -fsSL https://github.com/fortrabbit/frbit-cli/releases/latest/download/install.sh | FRBIT_VERSION=1.0.0 sh
curl -fsSL https://github.com/fortrabbit/frbit-cli/releases/latest/download/install.sh | FRBIT_INSTALL_DIR="$HOME/bin" sh
Homebrew
The fortrabbit tap provides a binary formula for macOS and Linux:
brew install fortrabbit/tap/frbit
Upgrade an existing installation with brew upgrade frbit. Homebrew verifies
the SHA-256 checksum generated for each release.
npm
The npm package installs the native binary for your platform as an optional dependency:
npm install --global @fortrabbit/cli
Do not install with --omit=optional; the wrapper needs its platform package.
GitHub Releases
Archives, checksums, and software bills of materials are available on the GitHub Releases page. The stable asset names work with generic binary installers such as eget, ubi, and mise.
| Platform | Asset |
|---|---|
| macOS Apple silicon | frbit_macOS_AppleSilicon.tar.gz |
| macOS Intel | frbit_macOS_Intel.tar.gz |
| Linux arm64 | frbit_linux_arm64.tar.gz |
| Linux x86-64 | frbit_linux_amd64.tar.gz |
| Windows arm64 | frbit_windows_arm64.zip |
| Windows x86-64 | frbit_windows_amd64.zip |
Authenticate
Create a personal API token under Your account → API tokens in the dashboard, then store it in your operating-system credential store:
frbit auth login
For one command or an automated job, pass the token as an environment variable:
FRBIT_TOKEN=frbit-at-… frbit apps list
FRBIT_TOKEN takes precedence over a stored credential. Do not commit API
tokens to source control.
Updates
Run frbit --version or frbit version to see the installed release.
Interactive sessions check GitHub for a newer stable version at most once per
day. The check is silent on network errors and can be disabled:
export FRBIT_NO_UPDATE_NOTIFIER=1