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 cURL

cURL is a command-line tool for transferring data using various protocols, like HTTP and HTTPS. It's a favorite among developers. Among other things, developers use cURL for:

  • Quick testing: make HTTP requests with a single command.
  • Automation: can seamlessly be integrated into scripts and automation workflows.
  • Debugging: easily see requests and responses.

Assignment

Most Unix-based systems, including macOS and Linux, come with cURL pre-installed. Check if you have cURL installed. Open a terminal and type:

curl --version

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

Run and submit the CLI tests.

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

Ubuntu (WSL) / Linux

Install cURL on Debian-based systems with:

sudo apt install curl

macOS

Install cURL on macOS with Homebrew:

brew install curl