解决Error: Running Homebrew as root is extremely dangerous and no longer supported.

小熊博客
2021-06-21 / 0 评论 / 280 阅读
温馨提示:
本文最后更新于2021-06-21,若内容或图片失效,请留言反馈。

执行下面的命令:

 sudo chown -R `whoami` /usr/local/Homebrew/
 sudo chown -R $(whoami) $(brew --prefix)/*
 sudo mkdir /usr/local/Frameworks
 sudo chown -R `whoami` /usr/local/Frameworks/