homebrew安装命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
本来是可以的,但是莫名其妙它就空文件夹了,就重新安装了一下,
真的非常非常慢,大概要安了两个小时,
结果brew install又报404,于是brew update又报错,可能是git的问题
No remote 'origin' in /opt/homebrew/Library/Taps/homebrew/homebrew-services, skipping update。
尝试解决:
brew doctor,
然后按照给的提示粘贴了几个命令,解决