升级mac系统后,brew报错,重装homebrew
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了升级mac系统后,brew报错,重装homebrew相关的知识,希望对你有一定的参考价值。
升级mac系统后,brew报错
brew update
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.
直接重新安装一个新版本brew即可;
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
以上是关于升级mac系统后,brew报错,重装homebrew的主要内容,如果未能解决你的问题,请参考以下文章