This SO post explains very well how to install command line tools for Xcode 4.4.
But how to uninstall them?
sudo /Library/Developer/Shared/uninstall-devtools --mode=all