xcode-select --install 验证 xcode-select -p 安装之后可以在这里找到工具包里的工具 /Library/Developer/CommandLineTools/usr/bin clang git 等
xcode-select --install
xcode-select -p
/Library/Developer/CommandLineTools/usr/bin
除了通过上述命令,还可以直接下载安装包 https://developer.apple.com/download/all/