Skip to main content

RunPod CLI

RunPod CLI is an open source command-line interface tool that simplifies the management of GPU Pods and Serverless endpoints on the RunPod platform. You can use RunPod CLI to execute code on Pods, deploy endpoints, transfer data, and manage computing resources efficiently.

Every Pod you deploy comes preinstalled with the runpodctl command. You can also install it locally to manage RunPod resources from your own machine.

Key capabilities

RunPod CLI enables you to:

  • Manage GPU and CPU Pods programmatically.
  • Execute commands and run code on Pods.
  • Transfer files and data between your local system and RunPod.
  • Develop and deploy Serverless endpoints using RunPod projects.

Streamline development with projects

RunPod projects provide a Docker-free workflow that significantly simplifies endpoint development:

  • Create and deploy Serverless endpoints without prior experience with Docker.
  • Skip the container build-push-deploy cycle when making code changes.
  • Test changes in real time without rebuilding images.
  • Focus on your code while RunPod handles the infrastructure.

Get started by learning how to create your first project.

Installation

For more information, see Install runpodctl.

Install using wget:

wget -qO- cli.runpod.net | sudo bash

Configure your API key

Before you can use RunPod CLI to manage resources from your local machine, you'll need to configure your API key. You can create and manage API keys on the RunPod account settings page.

After installing runpodctl on your local system, run this command to configure it with your API key:

runpodctl config --apiKey [API_KEY]

Help command

Learn how to use RunPod CLI commands by browsing the CLI reference or by running the help command:

runpodctl help

Learn more about a particular command by running:

runpodctl [command] help

For a comprehensive list of commands, see the RunPod CLI reference.