打开终端,输入安装命令。
# ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
Whoops, the Homebrew installer has moved! Please instead run:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Also, please ask wherever you got this link from to update it to the above.Thanks!
结果提示链接地址变了,输入
#ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
结果提示:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Don't run this as root!
提示需要用非root用户安装,新打开一个终端,再次输入上面的命令,开始安装了。