关于网友提出的“ 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,也不需要用
以上介绍了“ macOS Sierra brew运行不了”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/4085358.html