Get the App
SLTechnology News&Howtos  ›  Servers  › 

After upgrading the mac system, brew reported an error and reinstalled homebrew

Shulou Source: shulou.com Published: 2022-06-03 05:02:22 09月21日 Update

Brew reported an error after upgrading the mac system

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.

Just reinstall a new version of brew

Mkdir homebrew & & curl-L https://github.com/Homebrew/brew/tarball/master | tar xz-- strip 1-C homebrew

Tags: Systems upgrad Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker vpn MariaDB Linux Xiaomi