We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Install jq

jq is a powerful command-line tool for processing JSON data. It's a favorite among developers for working with JSON because it can:

  • Parse JSON: easily read and extract data from JSON responses.
  • Manipulate JSON: modify JSON data on the fly.
  • Filter JSON: find exactly what you're looking for within large JSON structures.

Assignment

Most Unix-based systems, including macOS and Linux, do not come with jq pre-installed. Follow these steps to install it on your system.

Check if you have jq installed. Open a terminal and type:

jq --version

If you see the version number, you're good to go.

Run and submit the CLI tests.

If you don't have jq installed, install it:

Ubuntu (WSL) / Linux

Install on Debian-based systems (like Ubuntu/WSL) with:

sudo apt-get update
sudo apt-get install jq

macOS

Install on macOS with Homebrew:

brew install jq