



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: Command Line Tools installs a C compiler, GCC, and many other helpful utilities that are commonly used in the unix world. Because the package has to download from Apple, it may take a while depending on your internet connection. Honestly, using Homebrew is much easier and is probably better for most users, but admittedly it’s not for everyone.įor those who don’t have the Command Line Tools package either with or without Xcode installed yet, it’s fairly simple: Open Terminal and type ‘xcode-select –install’, or you can do it from Xcode by opening XCode, then go “Preferences” and to the downloads section, and choose “Install Command Line Tools”, or you can get it from the Apple Developer Site as described here. This approach is going to build and install wget in Mac OS X from source, this means you’ll need Xcode (App Store link), or at least and the Unix command line dev tools installed on the Mac, but it has the benefit of eliminating the need of a package manager like Homebrew or MacPorts. The command line tool wget lets you retrieve a group of files from FTP and HTTP protocols, it’s a very useful utility for web developers and powerusers to have around because it lets you do things like perform quick and dirty site backups and even mirror websites locally.
