美文网首页
mac 安装brew install 失败

mac 安装brew install 失败

作者: wuhan_goer | 来源:发表于2022-08-09 12:15 被阅读0次

执行命令
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
按提示操作就行
虽然选择了国内镜像源,执行brew install xx 还是报错
fatal: not in a git directory
Error: Command failed with exit 128: git

执行brew -v


image.png

按上面提示操作,再执行brew install xx 就好了

相关文章

网友评论

      本文标题:mac 安装brew install 失败

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