在安装nginx的时候报如下错误
sudo brew install nginx
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.
解决办法:
去掉sudo
brew install nginx
网友评论