Mac安装brew

1.安装命令

curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1

2.更新brew:brew update

出现错误提示:/usr/local must be writable!

解决:给电脑用户加权限

//www.greatytc.com/p/36250f81e28b

3.重新update时报错

(1)Error: Could not link:

        /usr/local/share/doc/homebrew

        Please delete these paths and run `brew update`.

        删除rm -r -f /usr/local/share/doc/homebrew

4.检查是否正常:brew doctor

正常:Your system is ready to brew.

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

推荐阅读更多精彩内容