Install wget for Mac 10.8 Mountain Lion
The Guide shows you Exactly How to Installing the wget Command Line Tool on macOS 10.8 Mountain Lion.
The wget is a Professional Tool for Downloading with Auto-Resuming Capabilities Essential for the Power-Users.
The Guided Include Links to Installation Guides for All the Needed Homebrew, Command Line Tools for XCode and GCC Requirements.

Homebrew Installation and Initial SetUp on Mac
Here HomeBrew Quick Start GuideHow to Getting-Started Installing Packages with Homebrew on Mac 10.8 Mountain LionThen to Install wget Tool:
Copybrew install wget