sudo rm -rf $(xcode-select -print-path) xcode-select --install
sudo rm -rf $(xcode-select -print-path) Download command line tools from https://developer.apple.com/download/more/ Install it