{"id":20490746,"url":"https://github.com/circleci-public/circleci-cli","last_synced_at":"2026-06-29T13:00:53.987Z","repository":{"id":33361022,"uuid":"137903064","full_name":"CircleCI-Public/circleci-cli","owner":"CircleCI-Public","description":"Use CircleCI from the command line","archived":false,"fork":false,"pushed_at":"2026-06-23T15:00:09.000Z","size":37043,"stargazers_count":440,"open_issues_count":144,"forks_count":246,"subscribers_count":51,"default_branch":"main","last_synced_at":"2026-06-23T15:06:24.428Z","etag":null,"topics":["circle-ci","circleci","cli","command-line-tool","continuous-delivery","continuous-integration","developer-tools","devops","golang","graphql","tool"],"latest_commit_sha":null,"homepage":"https://cli.circleci.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CircleCI-Public.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-19T14:30:01.000Z","updated_at":"2026-06-23T14:22:21.000Z","dependencies_parsed_at":"2026-02-27T01:01:51.659Z","dependency_job_id":null,"html_url":"https://github.com/CircleCI-Public/circleci-cli","commit_stats":{"total_commits":1167,"total_committers":126,"mean_commits":9.261904761904763,"dds":0.6006855184233076,"last_synced_commit":"08776cb19f2b61226d84be29e0d00b9b51840149"},"previous_names":["circleci-public/cli"],"tags_count":705,"template":false,"template_full_name":null,"purl":"pkg:github/CircleCI-Public/circleci-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CircleCI-Public","download_url":"https://codeload.github.com/CircleCI-Public/circleci-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-cli/sbom","scorecard":{"id":30131,"data":{"date":"2025-08-11","repo":{"name":"github.com/CircleCI-Public/circleci-cli","commit":"59214039bc2a05e7a5903857718e93f80f80be75"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating cimg/go:1.20 to cimg/go:1.20@sha256:bd1abc34d5deb0c8f55e9f9c8071210e3a5ba9ce874f48a61a390175c2be0da6","Warn: containerImage not pinned by hash: Dockerfile.alpine:1: pin your Docker image by updating alpine:3.8 to alpine:3.8@sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.32638 not signed: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/227453008","Warn: release artifact v0.1.32580 not signed: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/227131696","Warn: release artifact v0.1.32367 not signed: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223799811","Warn: release artifact v0.1.32323 not signed: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223689726","Warn: release artifact v0.1.32219 not signed: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223104771","Warn: release artifact v0.1.32638 does not have provenance: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/227453008","Warn: release artifact v0.1.32580 does not have provenance: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/227131696","Warn: release artifact v0.1.32367 does not have provenance: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223799811","Warn: release artifact v0.1.32323 does not have provenance: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223689726","Warn: release artifact v0.1.32219 does not have provenance: https://api.github.com/repos/CircleCI-Public/circleci-cli/releases/223104771"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GHSA-mqcp-p2hv-vw6x"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T18:51:58.796Z","repository_id":33361022,"created_at":"2025-08-14T18:51:58.796Z","updated_at":"2025-08-14T18:51:58.796Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34927687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circle-ci","circleci","cli","command-line-tool","continuous-delivery","continuous-integration","developer-tools","devops","golang","graphql","tool"],"created_at":"2024-11-15T17:18:23.599Z","updated_at":"2026-06-29T13:00:53.981Z","avatar_url":"https://github.com/CircleCI-Public.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# circleci-cli\n\n\u003e **Preview release** — this branch (`main`) tracks the new CLI rewrite. It is under\n\u003e active development and not yet stable. For the current stable CLI, see\n\u003e [stable installation](#stable-installation).\n\nThis is CircleCI's command-line application.\n\n[Documentation](https://cli.circleci.com/reference/) |\n[Code of Conduct](./CODE_OF_CONDUCT.md) |\n[Contribution Guidelines](./CONTRIBUTING.md) |\n\n[![CircleCI](https://circleci.com/gh/CircleCI-Public/circleci-cli.svg?style=shield)](https://circleci.com/gh/CircleCI-Public/circleci-cli)\n[![GitHub release](https://img.shields.io/github/tag/CircleCI-Public/circleci-cli.svg?label=latest)](https://github.com/CircleCI-Public/circleci-cli/releases)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/CircleCI-Public/circleci-cli)\n[![License](https://img.shields.io/badge/license-MIT-red.svg)](./LICENSE)\n\n`circleci` is CircleCI's official command line tool. It is an agent-friendly CLI that brings CI runs, jobs,\nconfiguration, and other CircleCI features to the terminal right where you're already working.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"./docs/demos/run-get.svg\"\u003e\n    \u003cimg alt=\"output of freeze command, Haskell code block\" src=\"./docs/demos/run-get.svg\" width=\"800\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThe CLI is supported for users on [circleci.com](https://circleci.com) and CircleCI server; with support for macOS,\nWindows, and Linux.\n\n---\n\n## Preview: CLI v1.x now available\n\nA ground-up rewrite of the CircleCI CLI is available for preview.\n\n### What's new\n\n- **`circleci run`** — Full pipeline run management: list, get, trigger, cancel, and watch runs from the terminal. `run watch` blocks until a run completes and exits with a status code that reflects the result, making it easy to script CI gating.\n- **`circleci deploy`** — View deployed components and versions across environments, and initialize CircleCI Deploys for a project.\n- **`circleci dlc purge`** — Invalidate Docker layer caching for a project to force a fresh image build on the next run.\n- **`circleci workflow`** — List, inspect, cancel, and rerun individual workflows.\n- **`circleci pipeline`** — List and inspect pipelines.\n- **`circleci envvar`** — Manage project environment variables.\n- **`--json` on every command** — Every data-returning command supports `--json` for machine-readable, scriptable output.\n- **MCP server** — First-class [Model Context Protocol](https://modelcontextprotocol.io) support: register the CLI as an MCP server in Claude, Cursor, or VS Code with a single command.\n- **Shell completions** — Bash and Zsh completions via `circleci completion`.\n\n\u003e **Note:** This is a preview release. Commands and flags may change before stable. Please [open an issue](https://github.com/CircleCI-Public/circleci-cli/issues) with any feedback.\n\n---\n\n## Installation\n\n### Preview installation\n\nInstall the preview (v1.x) CLI via one of the following package managers:\n\nHomebrew:\n\n*If you have the stable CLI installed:*\n```shell\nbrew uninstall circleci\n```\nThen:\n```shell\nbrew tap circleci-public/circleci\nbrew trust circleci-public/circleci # for brew greater than v6\nbrew install circleci@next\n```\n\nSnap (edge channel):\n```shell\nsudo snap install circleci --channel=edge\nsudo snap connect circleci:password-manager-service\n```\n\nWinGet:\n```shell\nwinget install --id CircleCI.CLI.Preview\n```\n\n### Stable installation\n\nInstall the current stable version via HomeBrew, Snap, WinGet, or Chocolatey\n\nHomebrew:\n```shell\nbrew install circleci\n```\n\nSnap:\n```shell\nsudo snap install circleci\n```\n\nWinGet:\n```shell\nwinget install --id CircleCI.CLI\n```\n\nChocolatey:\n```shell\nchoco install circleci-cli -y\n```\n\n## Setup\n\n### Login\nRun the following command to login to the CircleCI CLI:\n```shell\ncircleci auth login\n```\n\n### Model Context Protocol (MCP)\nThe CLI supports the MCP protocol. To enable it, run:\n\nClaude:\n```shell\ncircleci mcp claude enable # Enable in Claude desktop\nclaude mcp add-from-claude-desktop -s user # Add with current user scope\n```\n\nCursor:\n```shell\ncircleci mcp cursor enable\n```\n\nVS Code:\n```shell\ncircleci mcp vscode enable\n```\n\n## Development\n\n### Local\n\nThis repository makes use [Task](https://taskfile.dev/#/) which can be installed (on MacOS) with:\n\n```\n$ brew install go-task/tap/go-task\n```\n\nMost other tools referenced in the `Taskfile.yml` are managed by the go.mod tool section.\n\nSee the full list of available tasks by running `task -l`, or, see the [Taskfile.yml](./Taskfile.yml) script.\n\n```sh\n# Run all static checks\ntask check\n# Auto-fix static checks\ntask fix\n# Run all the tests\ntask test\n\n# Run the quick tests\ntask test -- -short ./...\n# Run the quick tests for one package\ntask test -- -short ./internal/...\n\n# Format all the code\ntask fmt\n# Apply license headers\ntask license\n# Tidy go.mod\ntask mod-tidy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircleci-public%2Fcircleci-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-cli/lists"}