Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions runpodctl/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ This installs `runpodctl` globally on your system, so you can run commands from

Before you can use `runpodctl` locally, you must configure it with an [API key](/get-started/credentials).

If you've already logged in with [`rp login`](/sdk/cli#rp-login) or `flash login`, you can skip this step. Those commands save your API key to `~/.runpod/config.toml`, the same file `runpodctl` reads its configuration from, so `runpodctl` uses that key automatically. Keys saved to a named profile with `rp login --profile` aren't read.
Comment thread
promptless[bot] marked this conversation as resolved.
Resolved

The easiest way to set up your API key and SSH configuration is with the `doctor` command:

```bash
Expand All @@ -182,6 +184,12 @@ After running the command, you should see a confirmation message similar to this
saved apiKey into config file: /Users/runpod/.runpod/config.toml
```

When more than one API key is available, `runpodctl` uses the first one it finds in this order:
Comment thread
promptless[bot] marked this conversation as resolved.
Resolved

1. The `RUNPOD_API_KEY` environment variable.
2. The key saved with `runpodctl config` or `runpodctl doctor`.
3. The key saved by `rp login` or `flash login`.

### Step 3: Verify installation

To verify that `runpodctl` installed successfully, run this command:
Expand Down
Loading