Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6.1 - How to uninstall command line tools?

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

I've tried

sudo /Developer/Library/uninstall-devtools --mode=all 

but then I get the error

sudo: /Developer/Library/uninstall-devtools: command not found 
like image 752
TomNg Avatar asked Dec 12 '14 06:12

TomNg


People also ask

How do I uninstall Xcode command line tools Mac?

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.

What is Xcode command line tools on Mac?

It's a smaller package for software developers with tools that run on the command line, that is, in the Terminal application. Programmers have used these tools on Unix operating systems since computing's beginnings, and they serve as the foundation of almost all software development.

How do I install command line tools?

You can install and update each package using Android Studio's SDK Manager or the sdkmanager command line tool. All of the packages are downloaded into your Android SDK directory, which you can locate as follows: In Android Studio, click File > Project Structure. Select SDK Location in the left pane.


1 Answers

If you installed the command line tools separately, delete them using:

sudo rm -rf /Library/Developer/CommandLineTools 
like image 112
Aaron Brager Avatar answered Oct 05 '22 23:10

Aaron Brager