Removing/Uninstalling Xcode

 Just run the following from a terminal:

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

This is quite old, these days you should just be able to delete the Xcode app.

Written on September 21, 2011