Install the evals CLI

evals talks to the 2027.dev evals API from your terminal, scripts and CI.

1. Install

curl -fsSL https://2027.dev/evals/install.sh | sh

2. Log in

evals auth login

This opens your browser. Enter the code shown in the terminal and approve. The CLI gets an API key named evals login YYYY-MM-DD for your organization and stores it in a file readable only by you (~/Library/Application Support/evals/auth-keyring.json on macOS, ~/.config/evals/auth-keyring.json on Linux). There is no keychain prompt.

For CI and scripts, skip the browser and export an API key instead. Create one under API keys in your organization's settings (https://firegoat.ai/evals/<your-org>/settings):

export EVALS_TOKEN=<your API key>

An exported EVALS_TOKEN wins over a stored login.

3. Check

evals version
evals auth status
evals whoami

evals version (also evals -v or evals --version) prints the installed version. evals whoami shows the account and organization the CLI calls the API as.

4. Use

evals prompts list
evals prompts get --prompt-id <prompt-id>
evals runs request --prompt-id <prompt-id>
evals runs get --run-id <run-id>
evals runs list

5. Log out

evals auth logout --scheme deviceLogin

This removes the login from that file. The API key it created still works until you revoke it under API keys in your organization's settings.

Reference

The full API is described by the OpenAPI spec at 2027.dev/evals/api/openapi. Signed in, the Docs page in the dashboard covers every endpoint.