700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Mac 下使用brew install 报错: Error: Cowardly refusing to `sudo brew install'

Mac 下使用brew install 报错: Error: Cowardly refusing to `sudo brew install'

时间:2023-04-04 11:27:50

相关推荐

Mac 下使用brew install 报错: Error: Cowardly refusing to `sudo brew install'

Mac 下使用brew install 报错:

localhost:infer-osx-v0.6.0 admin$ sudo brew install opamError: 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 atyour own risk.

用sudo执行brew命令,必须将 /usr/local/bin/brew 改成root

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。