mac使用brew权限和路径报错解决方案

$ sudo chown -R `whoami` /usr/local/Homebrew/
$ sudo chown -R $(whoami) $(brew --prefix)/*
$ sudo mkdir /usr/local/Frameworks
$ sudo chown -R `whoami` /usr/local/Frameworks/

brew -v 2.4.9
nginx -v 1.19.1
brew list XXX //查看安装位置
brew update //更新homebrew

你可能感兴趣的:(前端)