In the previous chapter, we covered how to get set up using CircleCI in Bitbucket and in GitHub and showed you how to navigate the Bitbucket UI and covered the basics of the CircleCI Web UI. In this chapter, we will cover how to install CircleCI CLI on macOS/Linux and show you how to get a nightly build from the CLI. We will go over each CircleCI CLI command in detail and explain how the workflows in CircleCI work. We'll show you how to get a more complicated workflow with a sequential jobs setup. We will finish by covering the CircleCI API and show you how to use the jq JSON command utility to transform JSON when using HTTP requests.
In this chapter, we will cover the following topics:
- CircleCI CLI installation
- CircleCI CLI commands
- Using workflows in CircleCI
- Working with the CircleCI API