How to Uninstall Xcode Developer Tools

Many people like me would have found some difficulty to  completely Uninstall Xcode Developer Tools, WHY? Well I just found the solution!!!

In the Xcode documentation file it says;

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
 But if you put this command you will get an error message something like this -bash: Xcode: No such file or directory

There is something we have to change from this terminal command, in the place of <Xcode> add Developer (folder name).

Or there is an another option, Open the terminal window and drag and drop the Developer folder into the terminal window then press delete key once to remove the space and then type /Library/uninstall-devtools --mode=all.

If you still find dificulty there is an easy way to do it, just copy this command below and paste it in Terminal window then hit enter

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

type your password. (Note: You cannot see your password while typing on terminal window, so ust type the corrct password and hit enter) Then Terminal will searh for the "Developer" folder and  Uninstall completely. After finishing the uninstall process type exit and hit enter then close terminal window.

Hope it worked well.. If you find any problems contact me I will help you.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Melvin's picture

problem

Hi,

I am having problem uninstalling my Xcodesssss. YES, I GOT 5 XCODES INSTALLED CURRENTLY. All my xcode isnt on the Developer not Library folders. It is under the Macintosh HD, I created different folders each time I install a new version. I have my reasons for multiple Xcodes and it is a long story. :( Since I do not use some of them, I intend to uninstall it. But those commands given on the web are incorrect. So I wanna ask how do I do it then? I have attempted a few different ways to uninstall it. I can try to lists the methods I attempted:

1. sudo /Developer/Library/uninstall-devtools --mode=all
2. sudo uninstall-devtools --mode=all
3. sudo uninstall-devtools --mode=all
4. sudo /Xcode 3.1.4/uninstall-devtools --mode=all
5. sudo /Library/uninstall-devtools --mode=all
6. sudo /Library/uninstall-devtools --mode=all

I am out of ideas, I hope you can reply me via email. Thanks