rig CLI to deploy projects and manage workspaces from your terminal. The installer also provides rigbox as an alias for the same binary.
Prerequisites
- A Rigbox account.
- macOS on Apple Silicon or Intel, or Linux on x86-64.
- A terminal with Bash and curl.
The default installer follows the stable release. Incremental app-release commands require v0.13, currently available as a release candidate. Follow the release’s installation instructions and verify
rig --version before using those commands.1. Install
Run this on your local machine:rig and rigbox in ~/.local/bin. Confirm the installation:
command not found, add the installation directory to your path:
rig --version again.
2. Sign in
~/.config/rigbox/config.json, or $XDG_CONFIG_HOME/rigbox/config.json when that variable is set. See Authentication for headless login and API keys.
3. Choose your next step
Create your first workspace
Create a Linux workspace and install an app.
Deploy your own project
Configure rig.yaml and deploy from your machine.
Update the CLI
RIG_VERSION on the Bash process that executes the installer:
RIG_INSTALL_DIR on the same process to choose another writable installation directory.
Build the CLI from source
Building the CLI itself is different from building an app for deployment. The CLI source repository is private; these instructions require repository access and a Rust toolchain:Remove the CLI
--purge-config only if you also want to remove saved credentials and configuration. This does not delete your hosted workspaces.