Quickly and easily install and configure the CircleCI command-line interface (CLI), on CircleCI, for running "local" jobs and interacting with CircleCI configuration, orbs, and CircleCI's GraphQL API.
For full usage guidelines, see the orb registry listing.
Run a job inside the CircleCI CLI container, via this orb's executor. In another job, use the orb to install the CLI.
version: 2.1
jobs:
use-executor:
executor: cli/default
steps:
- run: echo "this job is using the orb's default executor"
use-install-command:
docker:
- image: 'circleci/circleci-cli:latest'
steps:
- cli/install
- run: echo "the CLI is now installed"
orbs:
cli: circleci/circleci-cli@x.y.z
workflows:
cli-orb-example:
jobs:
- use-executor
- use-install-command
We welcome issues to and pull requests against this repository!
For further questions/comments about this or other orbs, visit CircleCI's orbs discussion forum.