Your CLT does not support macOS 11.0.

Your CLT does not support macOS 11.0.

brew安装报错,查其原因

通过brew config可查看CLT版本信息发现不对,执行xcode-select --install,提示已安装,执行softwareupdate --all --install --force,提示No updates are available.,但是发现CLT版本依旧不对,所以需要删除重装:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

softwareupdate --all --install --force

发表评论