If you need a refresher on using wget, we’ve got you covered with a guide on using wget.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. First, you need to have Xcode installed with Unix Dev Support which includes gcc and other packages for software compilation.
#Install wget mac os x how to#
In any case, its quite easy to build from source and this post will explore how to do just that. Is wget installed by default on Mac By default, there is no wget on Mac OS X. Open the command prompt (cmd.exe) and start running wget commands.
Add the wget bin path to environment variables (optional).
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. Moving ahead and assuming you have Xcode and the command line tools installed, launch Terminal and enter the following commands as shown.
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.