The Prime Intellect CLI provides a powerful command-line interface for managing GPU resources across various providers. Install it via pip:

Check out our open source repository on GitHub.

Quick Start

  1. Install the CLI:
pip install prime-cli
  1. Configure your API key:
prime config set-api-key
  1. Configure SSH key for pod access:
prime config set-ssh-key-path

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.
4. Verify your configuration:

prime config view

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

# List available GPUs
prime availability list

# Filter by GPU type
prime availability list --gpu-type H100_80GB

# Create a pod
prime pods create

# List your pods
prime pods list

# SSH into a pod
prime pods ssh <pod-id>

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