Description
Thedoctor command is the recommended way to set up runpodctl for the first time. It guides you through:
- Configuring your API key
- Setting up SSH keys for Pod access
- Verifying your configuration
doctor can help diagnose and fix common problems.
Example
Run the doctor command to set up or troubleshoot your CLI:doctor saves a key only after the API accepts it, and exits with a non-zero code when it finishes unhealthy. The report is still printed.
Flags
API key to validate and save, replacing any saved key. The value is visible in your shell history and the process list, so prefer stdin.