circleci
TLDR
Configure CLI with API token
$ circleci setup
Validate config file$ circleci config validate
Run job locally$ circleci local execute --job [build]
Process config file$ circleci config process [.circleci/config.yml]
Create new project$ circleci project create
List contexts$ circleci context list [github] [org-name]
List orbs$ circleci orb list
Get namespace info$ circleci namespace info [namespace]
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.
PARAMETERS
--token token
CircleCI API token--host url
CircleCI host URL--debug
Enable debug output--skip-update-check
Skip update check
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
$ circleci local execute --job build -e VAR=value
Note: Workflows, caching, and some features are not supported locally.CONFIGURATION
Requires API token from CircleCI Personal API Tokens page. Config stored in ~/.circleci/cli.yml.
CAVEATS
Local execution runs single jobs only, not workflows. Caching not supported locally. Some CircleCI features require cloud execution.


