Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to uninstall "Command Line Tools" in Xcode 4.3?

Just installed Command Line Tools using the perference in Xcode 4.3. After removing Xcode 4.3, I found the Command Line Tools are not removed.

Is there any way to uninstall?


Thanks!

Mac Pro, Mac OS X (10.7.3)

Posted on Feb 16, 2012 11:00 AM

Reply
23 replies

Feb 16, 2012 11:11 AM in response to Andy Yau

Check the 'About Xcode' readme:


Uninstalling Xcode Developer Tools

To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:

$ sudo <Xcode>/Library/uninstall-devtools --mode=all

To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:

$ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport

To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:

$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev

Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:

$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir

NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.


-=-

If you find a black hole with the above, you could always reinstall Xcode, with those tools deselected and then delete according to the above, but all bets are off at that point, sorry 🙂


Good luck in any case.

Feb 18, 2012 3:46 AM in response to Andy Yau

True, it's now public.


But K T is right, Xcode 4.3 is now a "standard" application and is no more in /Developper but in /Applications. So to remove it, just put it into the trash and things should be OK.


Keep in mind that some tools are no more bundled with this distribution (Command Line Tools, Audio Tools, Packager, etc.)

Feb 19, 2012 7:35 AM in response to spaquet

I am having a similar issue. I am not sure if it's the same as Andy's, though. There is an optional new download of command-line tools for Xcode 4.3 that was released on 2/16.


http://stackoverflow.com/questions/9344107/xcode-4-3-command-line-tools

https://developer.apple.com/downloads/index.action?=command%20line%20tools


I need to uninstall 4.3 to downgrade to 4.2, but I do not know how to uninstall the 4.3 command-line tools.

Feb 23, 2012 7:13 AM in response to Andy Yau

The following worked for me:


- remove Xcode 4.3 from Applications by moving to the trash or using an uninstaller such as appzapper (if installed) (note: command line tools will still be installed at this point)


- install Xcode 4.2.1


- use the uninstaller to remove everything from 4.3 and 4.2.1:

sudo <Xcode>/Library/uninstall-devtools --mode=all


- install Xcode 4.2.1 again

Jun 29, 2012 2:10 AM in response to kahuno

Hi, I am still struggling with removing command line tools (June edition - whatever version that is).


/Library/Developer/ is pretty much empty except for one .rtf file.


I tried search for "uninstall-devtools" on the system .... could not find it.


The only way possible is using "lsbom" (which works except file name is

/var/db/receipts/com.apple.pkg.DeveloperToolsCLI.bom (w/o Leo).

Since it's like hundres of files it's just crazy. I wonder if that's an oversight on apple part.


Also, there is no app in /Applications .... well, it's command line tool so I did not expect one. Hoever, I expected I could remove it somehow.


Any help is appreciated.


Radek

How to uninstall "Command Line Tools" in Xcode 4.3?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.