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:
For first-time setup, we recommend using runpodctl doctor instead, which guides you through API key configuration and SSH key setup interactively.

Flags

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