Xcode 5 upgraded , stuck at Xcode 4.6.3
Found at /Developer, I found a way to uninstall Xcode via

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


I just ran the installer for Xcode 4, and it detected old version of Xcode, offering me to move it to /Developer-old.