Switching Xcode version/path for appium 1.5 NPM

I know how to do it in the old gui but im not sure how to change the path in the command line version.

GUI version run below in order to switch xcode version
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

you can provide the path of the desired version of xcode you with to switch.

Thank you, that worked like a charm!