Fix [Your CLT does not support macOS 11] when you are updating/upgrading brew

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

then you will see something below by execute pkgutil --pkg-info=com.apple.pkg.

CLTools_Executables 1 ↵
package-id: com.apple.pkg.CLTools_Executables
version: 12.3.0.0.1.1607026830
volume: /
location: /
install-time: 1611460194
groups: com.apple.FindSystemFiles.pkg-group

After doing this, you should be able to brew upgrade --fetch-HEAD again.

EOF
Enjoy
I, simon love this world ❤️