runpod/runpodctl

interact with Runpod via the cli

What it solves

runpodctl provides a centralized, command-line interface to manage GPU pods, serverless endpoints, and network volumes on the RunPod platform. It eliminates the need to manually build API requests, allowing you to handle resource lifecycle, file transfers, and log monitoring directly from your terminal.

How it works

The tool follows a simple runpodctl <resource> <action> syntax. It authenticates using an API key, which can be configured interactively or passed via environment variables for automated environments like CI/CD. It features built-in support for streaming logs in JSON format, waiting for resources to become fully ready (e.g., waiting for SSH to be active), and handling file transfers between your local machine and RunPod storage or other devices.

Who it’s for

This tool is designed for developers, researchers, and engineers who use RunPod for GPU-accelerated workloads and want a streamlined, scriptable way to manage their infrastructure without relying solely on the web console.

Highlights

  • Resource Management: Create, start, stop, and delete pods and serverless endpoints with single commands.
  • Log Streaming: Stream logs from pods or serverless workers in JSON format, perfect for piping into tools like jq.
  • Smart Waiting: Use the --wait flag to pause execution until a pod is SSH-ready or a serverless endpoint is actively running.
  • File Transfers: Easily move files to and from network volumes using S3-compatible APIs or share files between machines using a simple code-phrase system.
  • Automation-Friendly: Designed for non-interactive use in containers, agents, and CI pipelines with secure API key handling.

Related

  • Project
  • Project
  • Project
  • Project
  • Project