Skip to content

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 latest binary for your operating system and architecture:

Terminal window
curl -fsSL https://install.superplane.com/install.sh | sh

You can also download a specific version from SuperPlane releases.

On Debian and Ubuntu, install the signed apt package:

Terminal window
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://s3.amazonaws.com/apt.superplane.com/gpg.key \
| sudo gpg --dearmor -o /etc/apt/keyrings/superplane.gpg
echo "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.list
sudo apt-get update
sudo apt-get install -y superplane-cli

Use an API key for scripts and integrations or a personal token from Profile > API token for your own commands.

Connect interactively:

Terminal window
superplane connect <superplane_url> <api_token>
superplane whoami

For continuous integration and other automated environments, provide credentials without saving a CLI context:

Terminal window
export SUPERPLANE_URL="https://app.superplane.com"
export SUPERPLANE_TOKEN="your_api_token_here"

Keep credentials outside shell history, logs and repositories.

Each connection becomes a CLI context. List your contexts or switch to another organization:

Terminal window
superplane contexts
superplane contexts <superplane_url>/<organization_name>

Run the CLI help for the installed version:

Terminal window
superplane --help

Use subcommand help before automation:

Terminal window
superplane <command> --help

Commands support --output or -o with text, json and yaml:

Terminal window
superplane apps list --output text
superplane apps list -o json
superplane apps canvas get <app_name_or_id> -o yaml

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:

Terminal window
npx skills add superplanehq/skills --skill superplane-cli

Upgrade a release binary:

Terminal window
superplane upgrade

If you installed with apt, use the package manager:

Terminal window
sudo apt-get update
sudo apt-get install --only-upgrade superplane-cli

See the API reference for direct API access.