Xcode 6.1 - How to uninstall command line tools?

后端 未结 3 1449
鱼传尺愫
鱼传尺愫 2020-12-01 04:00

I installed Xcode command line tool by issuing xcode-select --install; now I want to uninstall it (without uninstalling Xcode).

I\'ve tried

<         


        
3条回答
  •  一向
    一向 (楼主)
    2020-12-01 04:39

    An excerpt from an apple technical note (Thanks to matthias-bauch)

    Xcode includes all your command-line tools. If it is installed on your system, remove it to uninstall your tools.

    If your tools were downloaded separately from Xcode, then they are located at /Library/Developer/CommandLineTools on your system. Delete the CommandLineTools folder to uninstall them.

    you could easily delete using terminal:

    Here is an article that explains how to remove the command line tools but do it at your own risk.Try this only if any of the above doesn't work.

提交回复
热议问题