Install and login
Install
For Linux and macOS:
curl https://cli.sume.so/install -fsS | bash
For Windows PowerShell:
irm https://cli.sume.so/install.ps1 | iex
Then start with:
sume login
sume me
Browser login
sume login
The CLI opens a browser approval page. After approval, it stores a scoped Sume API key in ~/.sume/config.json with owner-only file permissions.
For remote terminals:
sume login --no-browser
Environment variables
Environment variables override local config and are preferred for CI.
export SUME_API_KEY="sume_live_..."
export SUME_API_BASE_URL="https://www.sume.so/api/v1"