Install Swift

Whether you are a beginner or an experienced programmer, learning and using Swift can open up opportunities for you to build innovative applications for Apple devices and applications beyond Apple’s ecosystem. Not only can you use Swift on macOS, but using Swift on Linux and Windows makes Swift a valuable language for developers looking to work across different platforms and environments.

Follow these general steps to start using Swift:

  1. Choose your development platform below and follow the instructions to install the latest version of Swift. See the supported platforms page for the Swift-supported platforms.
  2. After the installation is complete, you can verify the installation by running the swift —version command.

Tip: You can also download nightly snapshots and older releases.

Latest Release: Swift 5.10


macOS

Additional install options for macOS:

Linux

Additional install options for Linux:

Windows

Additional install options for Windows: