1.安装brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
MAC 通过brew安装软件
原文:http://www.cnblogs.com/yutingliuyl/p/6740918.html