Skip to main content
The Prime Intellect CLI provides a powerful command-line interface for managing all of our Prime Intellect offerings. Including:
  • Managing compute resources on our platform
  • Creating, publishing and installing RL environments from our environment hub
  • Managing code sandboxes for secure code execution
Check out our open source repository on GitHub.

Quick Start

  1. Install uv (if not already installed):
  1. Install the CLI with uv:
  1. Authenticate:
Alternatively you can also manually set your API key using prime config set-api-key
  1. Configure SSH key for pod access:
You can generate your ssh keys on app.primeintellect.ai under the /dashboard/profile section. We recommend creating a dedicated directory for your Prime Intellect keys in your home directory, like /Users/<username>/pi-keys.
5. Verify your configuration:
View CLI Configuration

Alternative Installation: Using pip

If you prefer not to use uv:

Key Features

  • GPU Resource Management: Query and filter available GPU resources
  • Pod Management: Create, monitor, and terminate compute pods
  • SSH Access: Direct SSH access to running pods
  • Team Support: Manage resources across team environments

Basic Commands

For detailed documentation on each command and feature, explore the sections above.

Check GPU availability

View and filter available GPU resources across providers using simple commands.

Provision Instances

Create, monitor, and manage compute pods directly from your terminal.

Config Settings

Configure connection settings and team accounts.