Running Homebrew as root is extremely dangerous and no longer supported.

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.

以root身份运行Homebrew非常危险,不再受支持。由于Homebrew不会删除安装权限,因此您将为所有构建脚本提供对系统的完全访问权限。

把 sudo 去掉就好了。

猜你喜欢

转载自blog.csdn.net/testcs_dn/article/details/81113749