Install coverctl
coverctl is a single self-contained binary. It runs locally — no SaaS account, no source upload. After install, run coverctl mcp doctor to validate setup.
Recommended: prebuilt binary via Homebrew
Section titled “Recommended: prebuilt binary via Homebrew”brew install klarlabs-studio/tap/coverctlWorks on macOS and Linux. Same binary runs the CLI and the MCP server (coverctl mcp serve) the agent calls.
Alternative: install from source with Go
Section titled “Alternative: install from source with Go”If you already have Go 1.25+ on your machine, or you prefer source installs:
go install go.klarlabs.de/coverctl@latestThis installs the latest release to your $GOPATH/bin directory. Go is not required for coverctl itself if you use the Homebrew binary — only for Go project coverage.
Requirements
Section titled “Requirements”- Git (for diff-based coverage features)
- For Go project coverage: Go 1.20+ in the project under test
- For other languages: their native test runner (pytest, nyc/c8, cargo-llvm-cov, JaCoCo, etc.) — coverctl invokes it for you
Install a Specific Version
Section titled “Install a Specific Version”go install go.klarlabs.de/coverctl@v1.17.0Verify Installation
Section titled “Verify Installation”coverctl versionYou should see output like:
coverctl v1.13.0 (40be00f) built 2026-03-01Shell Completions
Section titled “Shell Completions”coverctl supports shell completions for bash, zsh, and fish.
# Add to ~/.bashrceval "$(coverctl completion bash)"# Add to ~/.zshrceval "$(coverctl completion zsh)"# Add to ~/.config/fish/config.fishcoverctl completion fish | sourceNext Steps
Section titled “Next Steps”- Quick Start - Create your first configuration
- CLI Reference - Learn about all available commands