R

Releases CLI

CLI declared

Details
Command
releases
Docs
https://releases.sh/docs/cli/browsing
Authentication
Releases API key / access token bearer discovered Get token ↗
$ releases login

Optional for reads. Run releases login to sign in; it opens your browser and mints a personal read-only key stored for the CLI. For a pre-issued token, run releases auth login --token <token>. The REST API docs also say account endpoints accept a user API key minted via Account → API Keys on releases.sh, or an OAuth access token from an app you authorized. For CI/non-interactive use, set RELEASES_API_KEY. See the agent authentication guide and REST API auth section.

Releases API key api_key declared
$ releases login

Optional. Search, browse, and MCP reads work with no credential; presenting a token raises your rate-limit tier (anonymous < signed-in account < machine token) and unlocks account-scoped actions. Sign in with releases login — it opens your browser (OAuth device authorization) and mints a personal, read-only key (relu_…). Already issued a token (e.g. a write/admin relk_… key during the closed beta)? Store it with releases auth login --token <token>. The token is sent to https://api.releases.sh (and https://mcp.releases.sh) as Authorization: Bearer <token>; RELEASES_API_KEY in the environment overrides the stored credential (handy for CI).