Installation
Homebrew
Build from source
Binary
Requires Rust to be installed. The CLI is not published to crates.io; the official versioned artifacts are the Homebrew formula and the GitHub release binaries. Download pre-built binaries from GitHub Releases.
Verify your installation:
Updates
The CLI checks for a newer release at most once per day and prints a one-line notice on stderr when one is available. The check never changes command output, exit codes, or behavior, and it is skipped entirely in agent mode. Set COVAL_NO_UPDATE_CHECK=1 to disable it.
Authentication
Interactive Login
You will be prompted to enter your API key. Get one from Dashboard Settings.
API Key Flag
Pass your API key directly:
Passing API keys as command arguments can expose them in shell history and process lists. For CI/CD pipelines, prefer using the COVAL_API_KEY environment variable or your CI provider’s secret management instead.
Verify Authentication
Displays your masked API key (e.g., sk_...****) to confirm you are authenticated.
Configuration
The CLI stores configuration in a platform-specific config directory. Run coval config path to see the exact location on your system.
View Config Path
Get a Config Value
Set a Config Value
Environment Variables
Environment variables override config file values:
- macOS (Intel and Apple Silicon)
- Linux (x86_64)
- Windows