千家信息网

升级mac系统后,brew报错,重装homebrew

发表于:2024-11-11 作者:千家信息网编辑
千家信息网最后更新 2024年11月11日,升级mac系统后,brew报错brew updateError: Running Homebrew as root is extremely dangerous and no longer suppo
千家信息网最后更新 2024年11月11日升级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

0