How to see the version of Swift in your machine

September 27, 2017

You can open your terminal and run the following command

 xcrun swift -version

You will see following output

Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Target: x86_64-apple-macosx10.9