报错信息:
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
网友评论