Skip to main content
The Prime CLI provides several commands to manage your configuration settings. All configuration commands are accessed through the prime config command group.

View Configuration

View your current configuration settings:
prime config view
This displays a table with your current settings, including:
  • API Key (partially masked)
  • Team ID
  • Base URL
  • SSH Key Path

API Key Management

Set your Prime Intellect API key:
prime config set-api-key

Team Settings

Set Team ID

Configure your team ID for team-based access:
prime config set-team-id

Remove Team ID

Switch back to your personal account:
prime config remove-team-id

Connection Settings

Base URL

Set the API endpoint URL:
prime config set-base-url

SSH Key

Configure SSH key path:
prime config set-ssh-key-path

Reset Configuration

Reset all settings to their default values:
prime config reset
This will remove all your custom settings, including your API key. You’ll need to reconfigure the CLI after resetting.

Configuration Options

CommandDescriptionDefault
viewDisplay current configuration-
set-api-keySet your API key-
set-team-idSet team ID for team access-
remove-team-idSwitch to personal account-
set-base-urlSet API base URLhttps://api.primeintellect.ai
set-ssh-key-pathSet SSH private key path~/.ssh/id_rsa
resetReset to default settings-
All configuration commands will prompt for values if not provided as command-line arguments.
I