CLI
Manage Podstack resources from your terminal using the official command-line interface.
Overview
The Podstack CLI provides a powerful command-line interface for managing GPU cloud resources. Use it for quick operations, scripting, automation, and CI/CD integration.
Quick Example
# Create a GPU pod
podstack pod create \
--name training-job \
--image pytorch/pytorch:latest \
--gpu-type A100 \
--wait
# SSH into the pod
podstack pod ssh training-job
# Run a command
podstack pod exec training-job -- nvidia-smi
# Delete when done
podstack pod delete training-job
Features
- Cross-Platform - Works on macOS, Linux, and Windows
- Full Coverage - Manage pods, VMs, storage, projects
- Multiple Outputs - Table, JSON, YAML formats
- Shell Completion - Tab completion for Bash, Zsh, Fish
- CI/CD Ready - Token-based auth for automation
- Fast & Lightweight - Single binary, no dependencies
Installation
# macOS
brew install podstack/tap/podstack-cli
# Linux
curl -sSL https://get.podstack.ai/cli | bash
# Windows
winget install podstack.cli
In This Section
| Guide | Description |
|---|---|
| Installation | Install on your platform |
| Authentication | Login and configure access |
| Quick Start | Get started in minutes |
| Pods | Container management commands |
| Virtual Machines | VM commands |
| Storage | Bucket and volume commands |
| Configuration | CLI settings and defaults |
Common Commands
| Command | Description |
|---|---|
podstack auth login | Authenticate with Podstack |
podstack pod list | List all pods |
podstack pod create | Create a new pod |
podstack pod ssh NAME | SSH into a pod |
podstack pod delete NAME | Delete a pod |
podstack vm list | List all VMs |
podstack bucket list | List storage buckets |
podstack wallet balance | Check wallet balance |
Support
For CLI issues, visit Customer Support or check the Troubleshooting guide.