circleci
CLI for CircleCI continuous integration platform
TLDR
Configure CLI with API token
SYNOPSIS
circleci [options] command [arguments]
DESCRIPTION
circleci is the official CLI for CircleCI, enabling local job execution, config validation, pipeline management, and interaction with CircleCI resources from the terminal.
The CLI is particularly useful for validating and processing configuration files before pushing changes, running jobs locally in Docker containers for faster development iteration, and managing orbs, contexts, and project settings. It integrates with the CircleCI API for pipeline and workflow management.
Local execution requires Docker and runs individual jobs in containers that mirror the cloud environment, though some features like caching and workflows are not available locally.
PARAMETERS
--token token
CircleCI API token--host url
CircleCI host URL--debug
Enable debug output--skip-update-check
Skip update check
CONFIGURATION
~/.circleci/cli.yml
CLI configuration including API token and host URL..circleci/config.yml
Project-level CircleCI pipeline configuration defining jobs, workflows, and orbs.
COMMANDS
setup
Configure CLI with API tokenconfig validate
Validate config.yml syntaxconfig process
Process and expand configlocal execute
Run jobs locallyproject
Manage projectscontext
Manage contexts and environment variablesorb
Manage orbsnamespace
Manage namespacespipeline
Manage pipelinesversion
Show version
LOCAL EXECUTION
CAVEATS
Local execution runs single jobs only, not workflows. Caching not supported locally. Some CircleCI features require cloud execution.
