1、安装brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)$(curl -fsSL https://brew:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)$(curl -fsSL https://