Learn how to install Swift locally to solve Exercism's exercises on your own machine
In order to use the Swift exercises, install Xcode version 10.0 or greater. On the first launch of Xcode, install the command line tools when prompted.
The current release version is available at the Mac App Store.
Additional versions of Xcode (including the most recent beta) are available at Apple's developer center.
All exercises have been tested with Xcode 10.0 using Swift 4.2.
The latest release is available on Swift.org.
Swift.org installation instructions.