How can I use swift in Terminal? - Stack Overflow

sudo xcode-select -switch \
/Applications/Xcode6-Beta.app/Contents/Developer
xcrun swift

Then I added an alias to zsh so I don't need "xcrun" first.