mac下安装brew

打开终端,输入安装命令。

# 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用户安装,新打开一个终端,再次输入上面的命令,开始安装了。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容