Install the CLI
Install Pollaris, verify the connection, and prepare it for an AI agent.
Pollaris CLI requires Python 3.11 or newer. Install it in an isolated environment so its dependencies do not alter your project.
The CLI is available on PyPI.
Install
With uv:
uv tool install pollaris-cliOr with pipx:
pipx install pollaris-cliConfirm the installed command:
pollaris --version
pollaris capabilities --jsonUpgrade
uv tool upgrade pollaris-cliFor a local MCP bridge, install the optional dependencies:
uv tool install 'pollaris-cli[mcp]'API connection
The CLI always connects to https://api.pollaris.cc. No endpoint configuration is needed. POLLARIS_API_URL is ignored and there is no --api-url option. Profiles separate login sessions, not deployments.
Credential storage
The CLI stores access credentials in a supported operating-system keychain. It never prints credentials in normal or JSON output.
Headless environments without a keychain must supply an explicit Fernet key through their secret manager:
export POLLARIS_CLI_SECRET_KEY="YOUR_FERNET_KEY"Do not commit that value or paste it into a prompt. If neither secure option is available, the CLI stops instead of saving credentials as plain text.
Start authorization manually
You normally do not need this step because a create command begins authorization automatically. To connect first:
pollaris auth login --jsonIn an agent environment, use --open-browser --wait --timeout 45 --json when the installed version supports it. Otherwise the agent opens the returned authorization.url with its host tool. After approval or a timeout, continue using the exact next_action.command returned by Pollaris. Do not substitute the homepage or dashboard URL.