
You can pick whichever one you want from the directory if you want a different version) (sidenote: a new version of wget may be available, version 1.16.3 (wget-1.16.3.tar.gz) has been confirmed to work in OS X El Capitan and OS X Yosemite, 1.15 is confirmed compatible with OS X Mavericks, while 1.13.4 has been confirmed compatible with OS X Mountain Lion. Or to use an older version (prior versions of OS X)
If you need a refresher on using wget, we’ve got you covered with a guide on using wget.Moving ahead and assuming you have Xcode and the command line tools installed, launch Terminal and enter the following commands as shown.įirst, use curl to download the latest wget source:.Now type wget to make sure everything went smoothly.Once again you’ll be back at the macOS Terminal prompt.
Installing wget will take less time than it did to install Homebrew, so don’t go too far away.
Now that you have Homebrew installed, it’s time to install wget. Keep it open, we’ll be using it in the next section too. Once the installation has completed you’ll be back at the Terminal prompt. Don’t worry if nothing seems to be happening while the software installs, just give it a bit of time. Enter your macOS password when prompted. Hit the return key on your keyboard to continue. In all likelihood you’ll see the line The Xcode Command Line Tools will be installed.
Then copy and paste the following command into Terminal and hit return (Enter) on your keyboard:
Go to Applications -> Utilities and double-click Terminal. Even better, Homebrew itself is just as easy to install. With Homebrew, the “missing package manager for macOS” (more info here), you can easily install wget in macOS with just a few Terminal commands. This brief guide will take you step by step through the process of installing wget in macOS.įYI – 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.