我通过发出 xcode-select --install
安装了 Xcode 命令行工具;现在我想卸载它(不卸载 Xcode)。
我已经尝试过
sudo /Developer/Library/uninstall-devtools --mode=all
但随后我收到错误
sudo: /Developer/Library/uninstall-devtools: command not found
最佳答案
如果您单独安装了命令行工具,请使用以下命令删除它们:
sudo rm -rf /Library/Developer/CommandLineTools
关于Xcode 6.1 - 如何卸载命令行工具?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27438457/