Runpod CLI is an open-source command-line interface (CLI) for managing Pods and Runpod projects.
When you create a Pod, it comes with runpodctl
installed and configured with a Pod-scoped API key. You can also install and run runpodctl
locally.
To install runpodctl
on your local machine, run one of the commands below based on your operating system:
This installs Runpod CLI globally on your system, so you can run runpodctl
commands from any directory.
Before you can use runpodctl
, you must configure it with an API key. Follow these steps to create a new API key:
Runpod does not store your API key, so you may wish to save it elsewhere. Treat your API key like a password and don’t share it with anyone.
Now that you’ve created an API key, run the following command to add it to runpodctl
, replacing [API_KEY]
with the key you just created:
After running the command, you should see a confirmation message similar to this:
Now that you’ve added your API key, verify that runpodctl
installed successfully by running this command:
You should see which version is installed.
Now that you have successfully installed and configured runpodctl
, you can: