Overview
Theprime env install command installs environment packages from three sources:
- Environments Hub - Public and private environments from
app.primeintellect.ai - Local directory - Environments in your
./environmentsfolder - GitHub repository - Environments from the verifiers repo
Usage
Arguments
Environment identifier. Format depends on the source:
- Hub:
owner/nameorowner/name@version - Local:
env-name(looks in./environments/) - Repo: Use with
--from-repoflag
Options
Path to environments directory for local installations.Aliases:
-pInstall from the verifiers GitHub repository instead of Hub or local.Aliases:
-rGit branch to install from when using
--from-repo.Aliases: -bInstallation Sources
Environments Hub
Install public or private environments from the Hub:- Versioned releases with semantic versioning
- Private environments (requires authentication)
- Automatic dependency resolution
- Simple index URLs for pip-compatible installation
Local Directory
Install environments from your local workspace:pip install -e), so changes to the environment code take effect immediately without reinstalling.
GitHub Repository
Install environments directly from the verifiers GitHub repo:Examples
Install from Hub
Install Local Environment
Install from Repository
Install Specific Version
How It Works
Hub Installation
- Queries the Environments Hub API for environment metadata
- Retrieves the simple index URL or direct wheel URL
- Installs using
uv pip installwith the appropriate index - Invalidates Python import caches
Local Installation
- Locates the environment directory (e.g.,
./environments/my_env) - Installs in editable mode using
uv pip install -e - Environment becomes importable immediately
Repository Installation
- Constructs a git+https URL pointing to the environment subdirectory
- Installs directly from GitHub using
uv pip install - Branch can be specified with
--branch
Verifying Installation
Check if an environment is installed:Private Environments
For private Hub environments, authentication is required:-
Option 1: Use
prime env pullto download and install locally: - Option 2: Configure authentication for the simple index URL (contact support for details)
Troubleshooting
Environment Not Found
pyproject.toml.
Hub Environment Not Available
- Verify the owner/name spelling
- Check if the environment is private (use
prime env pullinstead) - Ensure you’re using the correct version
Installation Failed
- Check that all dependencies are available
- Verify your Python version meets requirements (
>=3.10) - Try updating pip:
uv pip install --upgrade pip
Module Import Errors
If the environment installs but can’t be imported:Next Steps
After installation:-
Run an evaluation:
-
Check environment defaults:
-
Modify and test (for local installs):
- Edit environment code
- Re-run evaluation (changes take effect immediately)
-
Publish to Hub (for your own environments):
Dependency Management
Environments can specify their own dependencies inpyproject.toml: