How to Install wget in macOS

This guide will take you step by step through the process of installing wget in macOS.

With Homebrew, the “missing package manager for macOS” (more info here), you can easily install wget with just a few Terminal commands. Even better, Homebrew itself is just as easy to install. Here goes –

  1. Go to Applications -> Utilities and double-click Terminal. Then copy and paste the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  1. In all likelihood you’ll see the line The Xcode Command Line Tools will be installed. Hit the return key on your keyboard to continue.
  2. Enter your macOS password when prompted.
  3. Sit back and wait. Don’t worry if nothing seems to be happening while the software installs, just give it time.
  4. Once the installation has completed you’ll be back at the Terminal prompt.
  5. Now that you have Homebrew installed, it’s time to install wget. To do so, enter the command:

    brew install wget

  6. Once again just sit back and wait. Installing wget will take less time than it did to install Homebrew.
  7. And again, you’ll be back at the macOS Terminal prompt.
  8. Now type wget to make sure everything went smoothly.
  9. If you need a refresher on using wget, we’ve got you covered with a guide on using wget. You can also read the manual for wget by entering the command man wget
  10. Enjoy!

Leave a Comment

Your email address will not be published. Required fields are marked *