rp CLI is installed with the runpod Python package. Use it to authenticate, develop and deploy apps, and work with Pods and SSH keys. The same CLI is also available under the name runpod, so rp flash deploy and runpod flash deploy are equivalent.
The
rp CLI is separate from runpodctl, which is a standalone binary with a different set of commands.Command summary
rp flash. Account, SSH, and Pod commands live at the root. Run rp --help or rp COMMAND --help for details on any command.
rp login
Authenticate with Runpod and save your credentials to~/.runpod/config.toml:
--profile PROFILE_NAME with either login method to update only that profile. The default profile is default.
rp flash init
Scaffold a new app project:rp flash dev
Run a live development session for the app defined in a file:@runpod.local_entrypoint, and streams worker logs back to your terminal. Edit your code and re-run to iterate.
When you press Ctrl-C, the session waits for the running entrypoint to finish and then deletes its endpoints. If cleanup fails, the command exits with an error and lists the endpoint IDs you need to delete.
rp flash deploy
Build and deploy the app in the current project:rp flash app
List the apps you’ve deployed:rp flash env
List the environments for an app:rp flash undeploy
Delete the endpoints for an app’s environment:rp ssh
Manage SSH keys on your account and connect to Pods:rp ssh add generates a new key if you don’t pass one. To use an existing key, pass --key or --key-file. Keys are stored in ~/.runpod/ssh/.