当前位置: 代码迷 >> Brew >> mac下brew install 出错
  详细解决方案

mac下brew install 出错

热度:654   发布时间:2016-04-25 06:54:34.0
mac下brew install 报错

mac下brew install 报错

Password:

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.

?

原因是这个brew的权限不正确

?

修改一下这个brew的权限chown root:wheel /usr/local/bin/brew

OK

  相关解决方案