mac 安装brew install 失败

2022-08-09  本文已影响0人  wuhan_goer

执行命令
/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 就好了

上一篇下一篇

猜你喜欢

热点阅读