brew

作者: 艾比ab | 来源:发表于2020-03-19 18:50 被阅读0次

Mac 下使用brew install 报错:
localhost:infer-osx-v0.6.0 admin$ sudo brew install opam
Error: Cowardly refusing to `sudo brew install'
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.
用sudo执行brew命令,必须将 /usr/local/bin/brew 改成root

sudo chown root:wheel /usr/local/bin/brew

brew镜像
https://blog.csdn.net/yilovexing/article/details/95043434

相关文章

网友评论

      本文标题:brew

      本文链接:https://www.haomeiwen.com/subject/nvzlyhtx.html