蘋果:解決MAC系統無法使用brew命令

使用brew安裝程序提示如下錯誤

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>


  • 如何解決呢?這是因為新的MAC系統不允許在root用戶下使用brew命令安裝軟件了。首先切換到普通用戶
  • 然後將/usr/local的屬組改為當前用戶

  • 蘋果:解決MAC系統無法使用brew命令


    分享到:


    相關文章: