macOS Sierra brew运行不了

来源:互联网  时间:2016/11/13 4:27:15

关于网友提出的“ macOS Sierra brew运行不了”问题疑问,本网通过在网上对“ macOS Sierra brew运行不了”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: macOS Sierra brew运行不了
描述:

系统版本 10.12.1 (16B2555)

~ $sudo brew update
Password:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
~ $
$sudo brew doctor
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

根据网上说的开机按command+r
执行:csrutil disable
提示执行成功
然后重启
重启后再次执行brew仍然失败


解决方案1:

使用brew的时候不要用sudo,也不需要用

上一篇IOS开发如何实现参数化构建编译?
下一篇h5页面如何根据手机系统字体来改变网页字体
明星图片
相关文章
《 macOS Sierra brew运行不了》由码蚁之家搜集整理于网络,
联系邮箱:mxgf168#qq.com(#改为@)