This is CircleCI's command-line application.
Documentation | Code of Conduct | Contribution Guidelines |
CircleCI CLI is available on the following package managers:
Homebrew (preview):
brew tap circleci-public/homebrew-circleci
brew install circleci@nextHomebrew (stable):
brew install circleciSnap:
sudo snap install circleciChocolatey:
choco install circleci-cli -yRun the following command to login to the CircleCI CLI:
circleci auth loginThe CLI supports the MCP protocol. To enable it, run:
Claude:
circleci mcp claude enable # Enable the MCP protocol
claude mcp add-from-claude-desktop -s user # Add for current userCursor:
circleci mcp cursor enableVS Code:
circleci mcp vscode enableThis repository makes use Task which can be installed (on MacOS) with:
$ brew install go-task/tap/go-task
Most other tools referenced in the Taskfile.yml are managed by the go.mod tool section.
See the full list of available tasks by running task -l, or, see the Taskfile.yml script.
# Run all static checks
task check
# Auto-fix static checks
task fix
# Run all the tests
task test
# Run the quick tests
task test -- -short ./...
# Run the quick tests for one package
task test -- -short ./internal/...
# Format all the code
task fmt
# Apply license headers
task license
# Tidy go.mod
task mod-tidy