美文网首页
homebrew 失败 : Permission denied

homebrew 失败 : Permission denied

作者: 葛高召 | 来源:发表于2017-10-09 10:30 被阅读0次

报错信息:

Press RETURN to continue or any other key to abort

==> Downloading and installing Homebrew...

fatal: Could not switch to '.git': Permission denied

Failed during: git init -q

解决方案:

1、执行:sudo chown -R $USER /usr/local

2、安装brew : /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

信息来源: https://github.com/Homebrew/legacy-homebrew/issues/36504

作者:高召

链接:http://www.jianshu.com/p/1e58d3826ad9

來源:简书

著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

相关文章

网友评论

      本文标题:homebrew 失败 : Permission denied

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