# CircleCI CLI

> Use CircleCI from the command line

Source: https://talira.ai/catalog/circleci-cli-z9af271a
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / ci cd](https://talira.ai/categories/devops/ci-cd), [developer tools / cli](https://talira.ai/categories/developer-tools/cli)
- Platforms: macos, linux, windows[^5][^7]
- Licence: MIT[^4]
- Pricing: Free and open source[^4]
- Pricing notes: The CLI is free; CircleCI itself has its own plans.
- Free tier: yes[^4]
- Self-hostable: yes[^5]
- Plugins: yes[^6]
- MCP server: yes[^6]
- Agent feedback: yes[^6]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^6]
- Backed by: [CircleCI](https://talira.ai/orgs/circleci.md)

The CircleCI CLI (`circleci`) is [CircleCI](https://talira.ai/catalog/circleci-hh91gbb5.md)'s official command-line tool for circleci.com and CircleCI server. It triggers and watches runs, inspects workflows, jobs, test results and flaky tests, downloads artifacts, validates and processes pipeline config, and manages contexts, environment variables, orbs, policies, self-hosted runners and projects, with `--json` output on every command that returns data. `circleci preflight` runs uncommitted changes through CI on a temporary branch, `circleci migrate` converts [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md) workflows, and `circleci mcp` runs the CLI as an MCP server for AI coding agents. It is written in Go under the MIT licence and installs with [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md), [WinGet](https://talira.ai/catalog/winget-g927bz13.md), [Snap](https://talira.ai/catalog/snap-3jtdmjpc.md), apt or rpm.

## Links

- Website: https://cli.circleci.com
- GitHub: https://github.com/CircleCI-Public/circleci-cli
- Docs: https://cli.circleci.com/reference/

## Ways to install

### App stores

- [Snap](https://talira.ai/catalog/snap-3jtdmjpc.md): <https://snapcraft.io/circleci>[^1]

### Package managers

- [WinGet](https://talira.ai/catalog/winget-g927bz13.md): <https://github.com/microsoft/winget-pkgs/tree/master/manifests/c/CircleCI/CLI>[^1]
- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/circleci>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/circleci-cli>[^3]

## Problems it solves

- validate my CircleCI config.yml before I push and wait for the pipeline to fail
- watch my CI run from the terminal instead of refreshing the browser
- my coding agent needs to read failing CI logs and rerun the job
- download the build artifacts from the last CI job without clicking through the web UI
- see which tests are flaky across recent CI runs
- run my uncommitted changes through CI before I commit them
- manage CI secrets and environment variables from a script
- publish and version reusable CI config packages for my organization
- convert our GitHub Actions workflows to CircleCI
- check CPU and memory usage of a CI job to pick the right resource class
- trigger a pipeline on a branch from the command line
- give Claude Code or Cursor access to our CI runs through MCP
- test the policies that govern which pipelines can run before pushing them

## Features

- trigger, watch, approve, cancel and list runs
- inspect workflows, jobs, step output and CPU and memory usage
- download job artifacts
- validate, process and pack pipeline config
- test results and flaky test detection
- preflight: run uncommitted changes through CI on a temporary branch
- contexts, project environment variables and Docker layer cache purges
- orb and namespace management
- policy testing and pushing
- self-hosted runner resource classes, instances and tokens
- migrate GitHub Actions workflows
- raw CircleCI API requests
- --json output for scripting
- runs as an MCP server for Claude, Cursor or VS Code
- CLI extensions
- agent skills for Claude Code and other coding agents

## Capabilities

- Agents can report problems: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.43 out of 1.
Signals: backing 0.30, extensibility 0.60.

- backed by CircleCI
- has a plugin system
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [CircleCI](https://talira.ai/catalog/circleci-hh91gbb5.md)

## Alternatives

- [GitHub CLI (gh)](https://talira.ai/catalog/github-cli-gh-07he52ta.md): GitHub's official command line tool
- [GitLab CLI](https://talira.ai/catalog/gitlab-cli-2rsyt78e.md): A GitLab CLI tool bringing GitLab to your command line
- [CircleCI](https://talira.ai/catalog/circleci-hh91gbb5.md): CI/CD platform for building, testing and deploying software
- [Claude Code GitHub Actions](https://talira.ai/catalog/claude-code-github-actions-5xw6tvc0.md): GitHub Action that runs Claude Code in your workflows, on @claude mentions or any GitHub event

## Sources

[^1]: https://github.com/CircleCI-Public/circleci-cli/blob/main/README.md (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^4]: https://github.com/CircleCI-Public/circleci-cli/blob/main/LICENSE (checked 20 Nov 2026)
[^5]: https://github.com/CircleCI-Public/circleci-cli (checked 20 Nov 2026)
[^6]: https://cli.circleci.com/reference/ (checked 20 Nov 2026)
[^7]: https://cli.circleci.com/ (checked 20 Nov 2026)
