CLI Overview & Installation
Use the SuperPlane CLI to connect to your organization and manage workflows from your terminal.
Installation
Section titled “Installation”Direct download
Section titled “Direct download”Get the latest binary for your operating system and architecture:
curl -fsSL https://install.superplane.com/install.sh | shOlder versions can be found in our GitHub Releases page.
APT (Debian and Ubuntu)
Section titled “APT (Debian and Ubuntu)”On Debian-based distributions you can install and upgrade the CLI through apt.
Trust the SuperPlane signing key, add the repository, and install:
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.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 updatesudo apt-get install -y superplane-cliThe repo serves both amd64 and arm64 packages; apt picks the right one automatically.
Authentication
Section titled “Authentication”The SuperPlane CLI uses API tokens for authentication. For a full overview of authentication methods, see Authentication and accounts.
You can use:
- Service account token (recommended for scripts and integrations): see Service accounts.
- Personal token (tied to your user): go to Profile > API token in the SuperPlane UI.
You can authenticate in two ways:
Environment variables (recommended for CI/CD)
Section titled “Environment variables (recommended for CI/CD)”Set the following environment variables to authenticate automatically without running superplane connect:
export SUPERPLANE_URL="https://app.superplane.com"export SUPERPLANE_TOKEN="your-api-token"Interactive connect
Section titled “Interactive connect”Connect to a SuperPlane organization interactively:
superplane connect <SUPERPLANE_URL> <API_TOKEN>Show your identity for the current context:
superplane whoamiMultiple organizations
Section titled “Multiple organizations”You can connect to multiple SuperPlane organizations at the same time. Each connection will become a CLI context. You can list contexts and switch interactively:
superplane contextsSwitch directly with a context selector:
superplane contexts <SUPERPLANE_URL>/<ORGANIZATION_NAME>Output formats
Section titled “Output formats”All commands support --output (or -o) to choose the response format.
Possible values are:
text(default)jsonyaml
Examples:
superplane apps list --output textsuperplane apps list -o jsonsuperplane apps canvas get <app_name_or_id> -o yamlUpdating the CLI
Section titled “Updating the CLI”If a newer version is available the CLI prints an upgrade notice after every command. You can update in place with:
superplane upgradesuperplane self-update is an alias for the same command. Self-update is
available on macOS and Linux for release-built binaries; dev builds and
Windows are not supported.
If you installed via apt, upgrade through the package manager instead:
sudo apt-get updatesudo apt-get install --only-upgrade superplane-cliFirst-time install uses install.sh or a manual binary from Installation. To reinstall or pin a
version, run install.sh again.