搜尋

首頁  >  問答  >  主體

ios - 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仍然失败

怪我咯怪我咯2771 天前529

全部回覆(1)我來回復

  • 高洛峰

    高洛峰2017-04-18 09:46:02

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

    回覆
    0
  • 取消回覆