Reference
CLI reference
Use the SuperPlane command-line interface for authenticated project and workflow operations.Use the SuperPlane command-line interface (CLI) to connect to your organization and manage workflows from a terminal.
Install the CLI
Section titled “Install the CLI”Install the latest binary for your operating system and architecture:
curl -fsSL https://install.superplane.com/install.sh | shYou can also download a specific version from SuperPlane releases.
On Debian and Ubuntu, install the signed apt package:
sudo install -d -m 0755 /etc/apt/keyringscurl -fsSL https://s3.amazonaws.com/apt.superplane.com/gpg.key \ | sudo gpg --dearmor -o /etc/apt/keyrings/superplane.gpgecho "deb [signed-by=/etc/apt/keyrings/superplane.gpg] \https://s3.amazonaws.com/apt.superplane.com stable main" \ | sudo tee /etc/apt/sources.list.d/superplane.listsudo apt-get updatesudo apt-get install -y superplane-cliAuthenticate
Section titled “Authenticate”Use an API key for scripts and integrations or a personal token from Profile > API token for your own commands.
Connect interactively:
superplane connect <superplane_url> <api_token>superplane whoamiFor continuous integration and other automated environments, provide credentials without saving a CLI context:
export SUPERPLANE_URL="https://app.superplane.com"export SUPERPLANE_TOKEN="your_api_token_here"Keep credentials outside shell history, logs and repositories.
Manage contexts
Section titled “Manage contexts”Each connection becomes a CLI context. List your contexts or switch to another organization:
superplane contextssuperplane contexts <superplane_url>/<organization_name>Discover available commands
Section titled “Discover available commands”Run the CLI help for the installed version:
superplane --helpUse subcommand help before automation:
superplane <command> --helpSelect an output format
Section titled “Select an output format”Commands support --output or -o with text, json and yaml:
superplane apps list --output textsuperplane apps list -o jsonsuperplane apps canvas get <app_name_or_id> -o yamlAutomate safely
Section titled “Automate safely”Use explicit identifiers, handle nonzero exit status and log enough context to diagnose a failed request without printing credentials.
For agent-driven CLI use, install the superplane-cli skill:
npx skills add superplanehq/skills --skill superplane-cliUpgrade the CLI
Section titled “Upgrade the CLI”Upgrade a release binary:
superplane upgradeIf you installed with apt, use the package manager:
sudo apt-get updatesudo apt-get install --only-upgrade superplane-cliSee the API reference for direct API access.