CLI
podstack is the official command-line interface for the Podstack cloud. It bundles four things into one binary:
podstack code— an AI coding agent that plans, builds, and previews full applications for you, live, in a cloud sandbox.- Cloud sandboxes — sync your workspace into a sandbox and get a public preview URL (
podstack sandbox). - On-demand GPUs & fine-tuning — rent GPUs, SSH in, move data, and run managed fine-tuning jobs (
podstack gpu,podstack train,podstack files). - Inference — list and use the models on Podstack Inference Cloud (
podstack models).
Authentication is a single browser sign-in (podstack auth login) — no API key to copy.
Install
curl -fsSL https://github.com/Podstack-ai/podstack-cli-releases/releases/latest/download/install.sh | sh
Then sign in and confirm:
podstack auth login # opens your browser (Google / GitHub / SSO)
podstack version
See Installation for other platforms and upgrades.
Command map
| Command | What it does | Guide |
|---|---|---|
podstack auth | Sign in / out, show identity | Authentication |
podstack projects | Pick the project resources bill to | Projects |
podstack code | AI coding agent — build & preview apps | Coding agent |
podstack sandbox | Preview the current app in a cloud sandbox | Sandboxes |
podstack gpu | Rent and manage GPU instances, SSH keys | GPUs |
podstack train | Managed fine-tuning jobs | Fine-tuning |
podstack files | Upload datasets for fine-tuning | Files |
podstack models | List Inference Cloud models | Models |
podstack secrets | Store secrets the agent can use blind | Secrets |
podstack send / receive | Peer-to-peer file transfer | Send & receive |
podstack upgrade | Update the CLI | Installation |
Global flags
--output json|table— force the output format. The default is a human table on a terminal and JSON when piped, sopodstack gpu instances list | jqjust works.PODSTACK_API_KEY— supply apsk_key via environment instead of an interactive login (useful in CI).PODSTACK_PROJECT_ID— override the default project for a single command.
What’s available today
Every command below ships in the current podstack binary — no flags to unlock, no waitlist:
- AI coding agent —
podstack coderuns the agent in your current directory, andpodstack code sessions list/deletemanage saved sessions so you can resume work. - Cloud sandboxes —
podstack sandbox runsyncs your workspace and returns a public preview URL;list,logs,cost,renew, andclosemanage the running sandboxes. - On-demand GPUs —
podstack gpu types listandpodstack gpu pricingbrowse the catalog;podstack gpu launchis an interactive quick-launch;podstack gpu instancescoverscreate,list,get,delete,ssh,cp, andexpose;podstack gpu keysmanages your SSH keys (list,create,delete). - Managed fine-tuning —
podstack train create,list,get,cancel, andeventsrun LoRA/QLoRA jobs, andpodstack train modelslists base models. - Dataset uploads —
podstack files uploadsends datasets for fine-tuning. - Inference —
podstack models listprints the Inference Cloud catalog. - Secrets —
podstack secrets set/list/rmstore values the coding agent can use without seeing them. - Peer-to-peer transfer —
podstack sendandpodstack receivemove files and directories between machines with a code phrase. - Projects & auth —
podstack auth login/whoami/logout, andpodstack projects list/use/createto choose the billing project. - Scripting — the
--output json|tableflag, plus thePODSTACK_API_KEYandPODSTACK_PROJECT_IDenvironment variables, make every command CI-friendly.podstack upgradeandpodstack versionkeep the binary current.
Use cases
- Ship an app from a prompt — a developer runs
podstack codein a project directory and the agent plans, edits, and previews the running app in a cloud sandbox, then shares the preview URL with a teammate. - Rent a GPU without leaving the terminal — an ML engineer runs
podstack gpu launch, picks an H100, and is dropped into an SSH shell on the box seconds later with their own key. - Fine-tune hands-off — a data scientist uploads a JSONL dataset with
podstack files upload, kicks off a LoRA job withpodstack train create --budget 25, and follows it to completion withpodstack train events --follow. - Wire inference into CI — a platform engineer sets
PODSTACK_API_KEYin a pipeline, runspodstack models list --output json, and pipes the catalog into a deploy step withjq. - Move a dataset between machines — a researcher runs
podstack send ./dataseton their laptop andpodstack receive <code>on a remote box for a resumable, relay-based transfer. - Keep secrets out of prompts — a developer stores an API token with
podstack secrets set STRIPE_KEYso the coding agent can call the service without ever seeing the value.
In this section
| Guide | Description |
|---|---|
| Installation | Install, upgrade, platforms |
| Authentication | Browser sign-in and CI keys |
| Quick Start | Zero to running in minutes |
| Coding agent | podstack code — build & preview apps |
| Sandboxes | Live previews in cloud sandboxes |
| Projects | Choose the billing project |
| GPUs | Rent and manage GPU instances |
| Fine-tuning | Managed training jobs |
| Files | Upload datasets |
| Models | Inference Cloud models |
| Secrets | Blind secret injection for the agent |
| Send & receive | Peer-to-peer transfer |
| Configuration | Config files and environment |
| FAQs | Common questions |