Prerequisites
Before starting the installation of wget network utility using this tutorial you must have the following prerequisites.
Terminal: You must have Mac Terminal access and little knowledge about working with the terminal application. Homebrew: You must have Homebrew installed on your macOS. You can also use the below command to install brew.
Install wget
Now, execute the following command on the terminal to install brew on macOS.
Using Wget
You can use wget in various ways. Below are 2 sample commands to download the remote archive file or website homepage.