Find a command
Help is available at each level:rig --version and update the CLI. GitHub Actions bindings require CLI v0.12.64 or newer.
Select a workspace
List your workspaces and use a name or ID from the result:my-project with your workspace. Creation commands use --name to name a new workspace; management commands generally use --workspace to select an existing one. Check the command’s --help for its accepted flags.
Inspect an app
Deploy a project
From a directory containingrig.yaml:
.rig.lock, or creates one when no target is bound. Inside a workspace, it deploys into that workspace. Follow Deploy from your machine to create and review the manifest first.
Use structured output
Human-readable output is the default. Request JSON when piping results to another program:--query to select values from structured output, and consult global flags for input files and persistent output settings.
Inside a workspace
Every workspace has the CLI preinstalled, signed in as the workspace itself. You do not need to runrig login. The same commands work there as on your machine, acting on the current workspace, so an agent or script in the workspace can deploy, read logs, and query the API:
rig update. See Local versus workspace CLI for the full list and how rig deploy behaves there.