Skip to main content
Runpod CLI is an open source command-line tool for managing your Runpod resources from your local machine. You can manage Pods, Serverless endpoints, templates, network volumes, and models, transfer files between your system and Runpod, diagnose issues, and view account information.

Quick start

After installing and configuring runpodctl, you can start managing resources immediately:
runpodctl doctor                    # First time setup (API key + SSH)
runpodctl gpu list                  # See available GPUs
runpodctl template search pytorch   # Find a template
runpodctl pod create --template-id runpod-torch-v21 --gpu-id "NVIDIA RTX 4090"
runpodctl pod list                  # List your Pods

Install Runpod CLI locally

Every you deploy comes preinstalled with runpodctl and a Pod-scoped API key. You can also install it on your local machine to manage resources remotely.

Step 1: Choose an installation method

Choose the installation method that matches your operating system.
Homebrew:
brew install runpod/runpodctl/runpodctl
ARM (Apple Silicon):
wget --quiet --show-progress https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-darwin-arm64 -O runpodctl && chmod +x runpodctl && sudo mv runpodctl /usr/local/bin/runpodctl
AMD (Intel):
wget --quiet --show-progress https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-darwin-amd64 -O runpodctl && chmod +x runpodctl && sudo mv runpodctl /usr/local/bin/runpodctl
This installs runpodctl globally on your system, so you can run commands from any directory.

Step 2: Configure your API key

Before you can use runpodctl locally, you must configure it with an API key. The easiest way to set up your API key and SSH configuration is with the doctor command:
runpodctl doctor
This command guides you through first-time setup, including API key configuration and SSH key setup. Alternatively, you can manually configure your API key:
runpodctl config --apiKey YOUR_API_KEY
After running the command, you should see a confirmation message similar to this:
saved apiKey into config file: /Users/runpod/.runpod/config.toml

Step 3: Verify installation

To verify that runpodctl installed successfully, run this command:
runpodctl version
You should see which version is installed:
runpodctl v2.0

Command groups

Runpod CLI organizes commands into groups based on the resource type:
CommandAliasDescription
runpodctl podManage Pods (create, list, start, stop, delete)
runpodctl serverlessslsManage Serverless endpoints
runpodctl templatetplList, search, and manage templates
runpodctl network-volumenvManage network volumes
runpodctl registryregManage container registry authentications
runpodctl gpuList available GPUs
runpodctl datacenterdcList datacenters
runpodctl billingView billing history
runpodctl usermeView account information
runpodctl sshManage SSH keys and get connection info

Help and reference

Learn how to use Runpod CLI commands by browsing the CLI reference using the sidebar to the left, or by running the help command:
runpodctl help
Learn more about a particular command by running:
runpodctl [command] --help

Shell completion

Enable tab completion for your shell to make working with runpodctl easier:
# Bash
runpodctl completion bash >> ~/.bashrc

# Zsh
runpodctl completion zsh >> ~/.zshrc
Restart your shell or source the configuration file for changes to take effect.