PandaStack

Install the CLI

The `pandastack` CLI manages sandboxes, deploys clusters, and inspects state from your terminal.

macOS / Linux (curl)

curl -fsSL https://docs.pandastack.ai/install.sh | bash

This drops a pandastack binary in ~/.pandastack/bin/ and adds it to your PATH.

Homebrew

brew install pandastack/tap/pandastack

From source

git clone https://github.com/pandastack-ai/pandastack
cd pandastack
go install ./cmd/pandastack

Configure

pandastack login                # browser-based OAuth via Supabase
# or
export PANDASTACK_API_KEY=dam_xxx
export PANDASTACK_API=https://api-dev.pandastack.ai

Verify

$ pandastack version
pandastack 0.5.0 (commit abc123)

$ pandastack sandboxes ls
ID                                    TEMPLATE          STATUS   AGE
278a4f42-3467-4424-98e6-a547646dd0fd  code-interpreter  running  2m

Common commands

pandastack sandboxes create --template code-interpreter
pandastack sandboxes ls
pandastack sandboxes exec <id> -- python -c 'print(1+1)'
pandastack sandboxes ssh <id>          # interactive PTY
pandastack sandboxes rm <id>

pandastack templates ls
pandastack templates build my-template ./Dockerfile

pandastack deploy gcp                  # one-click cluster
pandastack deploy aws --bake-templates
pandastack deploy mac-m1-local

See CLI reference for the full command tree.

On this page