CLI
Configuration
Environment variables and local configuration used by the Sume CLI.
Environment variables
| Variable | Purpose |
|---|---|
SUME_API_KEY | Sume Developer API key. |
SUME_API_BASE_URL | API base URL. The default is https://api.sume.com/v1. |
SUME_API_AUTH_MODE | x-api-key or bearer. |
SUME_APP_BASE_URL | App base URL for links the CLI prints. For the production API, the default is https://app.sume.com. For other APIs, the default is the origin of SUME_API_BASE_URL. sume login finds its sign-in server from the API itself. |
SUME_CONFIG_DIR | Overrides the local config directory for tests or isolated environments. |
Local config
The CLI stores the local configuration in this file:
text
~/.sume-com/config.jsonSign in to create the local config:
bash
sume loginTo examine the local readiness without a call to the API, use
sume doctor --agent --json.