Q. How do you know which version of Xcode am I running?

A. If you have it installed, to know the version you have, just run:

/Developer/usr/bin/xcodebuild -version

That will tell you the version of Xcode you are running.