recherche

Maison  >  Questions et réponses  >  le corps du texte

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 Il y a quelques jours534

répondre à tous(1)je répondrai

  • 高洛峰

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

    N'utilisez pas sudo lorsque vous utilisez Brew, et il n'est pas nécessaire de l'utiliser

    répondre
    0
  • Annulerrépondre