Skip to content

SuperPlane CLI

Use the SuperPlane CLI to configure access and manage canvases from your terminal.

Download the latest binary for your operating system and architecture:

curl -L https://install.superplane.com/superplane-cli-darwin-arm64 -o superplane
chmod +x superplane
sudo mv superplane /usr/local/bin/superplane

Or download a specific version:

curl -L https://install.superplane.com/v0.1.6/superplane-cli-darwin-arm64 -o superplane
chmod +x superplane
sudo mv superplane /usr/local/bin/superplane

The SuperPlane CLI uses API tokens for authentication. To generate a new one:

  • Go to Profile > API token in the SuperPlane UI
  • Click the Regenerate Token button

Set the API URL and your API token before running any commands:

Terminal window
superplane config set api_url <SUPERPLANE_URL>
superplane config set api_token <API_TOKEN>
Terminal window
superplane canvases create <canvas_name>
Terminal window
superplane canvases get <canvas_name>

Export the existing canvas, edit it, then apply your changes:

Terminal window
superplane canvases get <canvas_name> > my_canvas.yaml
# update your YAML to reflect the changes you want to make
superplane canvases update -f my_canvas.yaml
Terminal window
superplane integrations list

Get details for one integration:

Terminal window
superplane integrations get <integration_name>

List all available components:

Terminal window
superplane components list

List components from a specific integration:

Terminal window
superplane components list --from <integration_name>

Get details for one component:

Terminal window
superplane components get <component_name>

List all available triggers:

Terminal window
superplane triggers list

List triggers from a specific integration:

Terminal window
superplane triggers list --from <integration_name>

Get details for one trigger:

Terminal window
superplane triggers get <trigger_name>

List only integrations connected to your authenticated organization:

Terminal window
superplane integrations list --connected

List resources available from a connected integration:

Terminal window
superplane integrations list-resources --id <connected_integration_id> --type <resource_type>

You can pass additional query parameters when needed:

Terminal window
superplane integrations list-resources \
--id <connected_integration_id> \
--type <resource_type> \
--parameters key=value,key2=value2

To upgrade to the latest version, download the latest binary and replace the existing one:

Terminal window
curl -L https://install.superplane.com/superplane-cli-darwin-arm64 -o superplane
chmod +x superplane
sudo mv superplane /usr/local/bin/superplane

Replace darwin-arm64 with your operating system and architecture (e.g., linux-amd64, darwin-amd64).