Last active
August 29, 2015 14:02
-
-
Save gnarmis/0d08ad5603014efea52f to your computer and use it in GitHub Desktop.
Swift on the Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So, this is where swift lives, after you've installed XCode 6 Beta: | |
/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift | |
Also, there's a directory named swift which has various libraries: | |
/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift | |
To start playing in a terminal: | |
export PATH=/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$PATH | |
You could also change this in XCode 6's Preferences. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment