1. Install brew, the official website http://brew.sh,
(1) Paste the script
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installed brew successfully, test brew --version
2. Install wget
brew install wget
3. Test
wget www.baidu.com