Skip to main content
Configure the Runpod CLI with your API credentials and API URL to enable programmatic access to your Runpod resources.

Example

Configure the CLI with your API key:
runpodctl config is deprecated. Use runpodctl doctor, which validates and saves your API key and sets up SSH keys, or set the RUNPOD_API_KEY environment variable.

Flags

string
Your Runpod API key, which authenticates the CLI to access your account. You can generate an API key from the Runpod console.
string
default:"https://api.runpod.io/graphql"
The Runpod API endpoint URL. The default value should work for most users.
Last modified on November 14, 2026