Downloading Files

Learn how to download files using the CLI and how to access the CLI commands manual.

The curl command lets us download documents from web servers to our machine, just like a browser would. And the unzip command will let us unzip the archives we downloaded.

Setting up cURL

First, check to see if curl is installed.

$ which curl

The which command locates executable files associated with a particular command, which indicates to the user whether or not the package associated with the command is installed or not.

If the result is blank, we install curl using our package manager just like we did with tree.

Get hands-on with 1200+ tech skills courses.