Run terminal (terminal)
Enter the following two commands
export PATH=/usr/local/git/bin:/usr/local/bin:$PATH
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
test
Installation and testing
sudo brew install wget
Unload the test
sudo brew uninstall wget
View installed software, then the following command:
sudo brew search /wget*/