How To Uninstall / Re-Install XCode 4

August 20th, 2011 § 0 comments § permalink

hi every one, I was trying to uninstall xcode 4, and I managed to uninstall it, but, when i want to re-install, i can’t get it from AppStore, it still marked as installed.
I was trying to remove all of the folder and no luck. After some time (15 minutes) go around to my folders, I found out “Install XCode” still in my /Application folder, that’s the reason why appStore keep it as Installed.
If you want to re-install the XCode, you just need to double click on “Install XCode” again and it will start the Installation step again.

This is a my small tips to uninstall XCode:

#from Terminal
$ sudo /Developer/Library/uninstall-devtools --mode=all
# or
$ sudo /Xcode4/Library/uninstall-devtools --mode=all

Depend on where is your Xcode get installed, sometime it’s not installed in /Developer but /Xcode4 because you have previous version Xcode 3.x

If you want the fresh Installation file of XCode, you will need to delete “Install Xcode” in /Application folder, and go to appStore again to download it.

thanks is all, talk to you guys soon, if you have some questions, just POKE me.

cheers,
helman.