mac 安装命令行开发者工具

terminal中执行:

xcode-select --install
然后点击 “安装”即可

mac命令行工具
原文地址:https://www.cnblogs.com/mxh1099/p/6164236.html