Once you have the pre-requisites out of the way, it’s time for the SETUP.
Helpful Hint: What is cURL?
cURL is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP).
The command is designed to work without user interaction.
Basically, you can use cURL to download content from the internet.
With cURL there are differences for each platform and they are listed below:
Mac & Linux
cURL is pre-installed.
cURL is not installed by default.
You can download a cURL installer by going to the cURL Download Wizard. Choose a link that has SSL enabled. After running the installer, you should now be able to execute curl commands.
In your terminal, enter
curl https://example.com and press enter. If curl is installed correctly and you have an internet connection, you should see the HTML output in your terminal. If you see the HTML output, you are ready to continue.