Skip to content

Instantly share code, notes, and snippets.

@JeOam
Created June 6, 2014 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeOam/b72ad2064087620b8f07 to your computer and use it in GitHub Desktop.
Save JeOam/b72ad2064087620b8f07 to your computer and use it in GitHub Desktop.
use swift in Terminal

if you don't want to mess up your current dev environment, you can just run:

$ /Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift

Alternatively:

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

then you can do one of these two:

xcrun swift 
lldb --repl
@JeOam
Copy link
Author

JeOam commented Jun 6, 2014

via :click

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment