How to Install wget in macOS

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

FYI – this guide could just as easily be called “how to install Linux Apps in macOS” – as there are a slew of *nix programs that have been ported to work via Homebrew.

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

Install Homebrew

  1. Go to Applications -> Utilities and double-click Terminal. Then copy and paste the following command into Terminal and hit return (Enter) on your keyboard:

/usr/bin/ruby -e "$(curl -fsSL"

    installing homebrew in a macOS Terminal

  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. prompt to install Xcode Command Line in a macOS Terminal

  3. Enter your macOS password when prompted.
  4. entering your password in a macOS Terminal

  5. Sit back and wait. Don’t worry if nothing seems to be happening while the software installs, just give it a bit of time.
  6. text scrolling in a macOS Terminal

  7. Once the installation has completed you’ll be back at the Terminal prompt. Keep it open, we’ll be using it in the next section too.
  8. homebrew installation completed macOS Terminal

Install wget in macOS

  1. Now that you have Homebrew installed, it’s time to install wget. To do so, enter the command:

    brew install wget

  2. install wget in macOS

  3. Once again just sit back and wait. Installing wget will take less time than it did to install Homebrew, so don’t go too far away.
  4. dependencies installing in a macOS Terminal

  5. Once again you’ll be back at the macOS Terminal prompt.
  6. a macOS Terminal with the wget installation completed

  7. Now type wget to make sure everything went smoothly.
  8. the wget command in a macOS Terminal

  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. the wget manual command in a macOS Terminal

  11. Enjoy!

If this article helped you, I'd be grateful if you could share it on your preferred social network - it helps me a lot. If you're feeling particularly generous, you could buy me a coffee and I'd be super grateful :)

buy a coffee for

Home » Mac » How to Install wget in macOS

1 thought on “How to Install wget in macOS”

  1. Not sure when you posted this, but you really nailed it. Extremely helpful and so consistent with the experience. Well done!

Leave a Comment

Your email address will not be published.