Install Swift
Swift development is officially supported on Apple platforms, Linux, and Windows. More details about platform support.
Latest Release: Swift 5.9.1
macOS
-
Xcode
Download Xcode 15 which contains the latest Swift release.
Download Xcode
Additional install options for macOS:
- Package Installer - Package installers (.pkg) are available on download page.
Linux
-
Docker
The offical Docker images for Swift.
Instructions
Additional install options for Linux:
- Tarball - Tarball packages are available on download page.
- RPM - Swift 5.9.1 RPMs for Amazon Linux 2 and CentOS 7 are for experimental use only. Please provide your feedback.
Windows
-
Package Manager
Install Swift via Windows Package Manager (aka WinGet).
Instructions
Additional install options for Windows:
- Scoop - Install Swift via Scoop.
- Package Installer - Package installers (.exe) are available on download page.