Mac下安装包管理平台Homebrew(Mac 10.12)

在终端上输入:html

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

验证,输入:git

brew

出现以下提示,表明成功安装:github

官方教程:http://brew.sh/index_zh-cn.htmlruby