Setting your API key
--api-key.
Setting the base URL
If you need to point your CLI at a different server (e.g., staging):Viewing and clearing config
Config file location
Configuration is stored as JSON at:Environment variables
You can also configure your CLI with environment variables. These take precedence over the config file but are overridden by flags.| Variable | Description |
|---|---|
YOUR_CLI_API_KEY | API key for authentication |
YOUR_CLI_BASE_URL | Override the default API base URL |
The exact environment variable names depend on your CLI’s name. Check
your-cli --help for the specific variable names.