Skip to content

CLI Overview & Installation

Use the SuperPlane CLI to connect to your organization and manage workflows from your terminal.

Get the latest binary for your operating system and architecture:

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

Older versions can be found in our GitHub Releases page.

On Debian-based distributions you can install and upgrade the CLI through apt.

Trust the SuperPlane signing key, add the repository, and install:

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

The repo serves both amd64 and arm64 packages; apt picks the right one automatically.

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:

Section titled “Environment variables (recommended for CI/CD)”

Set the following environment variables to authenticate automatically without running superplane connect:

Terminal window
export SUPERPLANE_URL="https://app.superplane.com"
export SUPERPLANE_TOKEN="your-api-token"

Connect to a SuperPlane organization interactively:

Terminal window
superplane connect <SUPERPLANE_URL> <API_TOKEN>

Show your identity for the current context:

Terminal window
superplane whoami

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:

Terminal window
superplane contexts

Switch directly with a context selector:

Terminal window
superplane contexts <SUPERPLANE_URL>/<ORGANIZATION_NAME>

All commands support --output (or -o) to choose the response format.

Possible values are:

  • text (default)
  • json
  • yaml

Examples:

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

If a newer version is available the CLI prints an upgrade notice after every command. You can update in place with:

Terminal window
superplane upgrade

superplane 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:

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

First-time install uses install.sh or a manual binary from Installation. To reinstall or pin a version, run install.sh again.