Your CLT does not support macOS 11
更新最新系统后无法使用brew install
brew install xxx然后就报错

Error: Your CLT does not support macOS 11. 2
It is either outdated or was modified.

常规解决办法

先删除旧的命令行工具

sudo rm -rf /Library/Developer/CommandLineTools

更新命令行工具

sudo xcode-select --install