reinstall xcode command line tools brew code example
Example 1: install xcode tools using brew
xcode-select --install
Example 2: Installing Command line tools for Xcode via CLI
Code Block sudo xcode-select --switch /Applications/Xcode-beta.appsudo xcode-select --install