How To Wget On Mac

If you’re a developer or a network engineer working on a Mac, you may have come across the need to use “wget”. The wget command is a free utility that allows for non-interactive download of files from the web. It supports HTTP, HTTPS, and FTP protocols, and can retrieve files through HTTP proxies.

Unfortunately, wget is not installed by default on Mac, but don’t worry, we’re here with a step-by-step guide to get you through installing wget on your Mac.

Step 1: Install Homebrew

Before you can install wget, you need to install Homebrew. Homebrew is a package manager for Mac that simplifies the installation of software on macOS. To install Homebrew, open Terminal and type the following command:

    /bin/bash -c "$(curl -fsSL"

Step 2: Install Wget using Homebrew

Once you have installed Homebrew, you can now install wget. In the Terminal, type the following command:

    brew install wget

Homebrew will download the packages needed for wget and then install them on your Mac. Once done, you can confirm that wget has been installed by typing:

    wget --version

If wget is installed correctly, the above command will display the version of wget that you have installed.

Step 3: Using wget

Now that wget is installed, you can start using it to download files. Here’s an example command:


This command will download the file “” from the address “”.

And there you have it! You’ve successfully installed and started using wget on Mac. Happy downloading!