Follow the instructions below to install the latest version of Swift on a supported platform.
You can also download nightly snapshots and older releases.
Latest Release: Swift 5.9.2
Download the current version of Xcode which contains the latest Swift release.Download Xcode
Additional install options for macOS:
- Package Installer - Package installers (.pkg) are available on download page.
The offical Docker images for Swift.Instructions
Additional install options for Linux:
- Tarball - Tarball packages are available on download page.
- RPM - Swift 5.9.2 RPMs for Amazon Linux 2 and CentOS 7 are for experimental use only. Please provide your feedback.
Install Swift via Windows Package Manager (aka WinGet).Instructions
Additional install options for Windows: