WinGet

Install Swift via the Windows Package Manager (also known as WinGet).

First, install Windows platform dependencies:

winget install --id Microsoft.VisualStudio.2022.Community --exact --force --custom "--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64"

Next, install Swift and other dependencies:

winget install --id Swift.Toolchain -e

Alternative install options

Manual Installation

Download the Swift installer (.exe)

Container

Official container images are available for compiling and running Swift on a variety of distributions.

Previous Releases

Previous releases of Swift are available for installation on Windows using the manual installer, as documented here.

Previous Releases
Release Date Toolchain Docker
Swift 6.1.1 May 23, 2025 x86_64 arm64 6.1.1-windowsservercore-ltsc2022
Swift 6.1 March 31, 2025 x86_64 arm64 6.1-windowsservercore-ltsc2022
Swift 6.0.3 December 11, 2024 x86_64 arm64 6.0.3-windowsservercore-ltsc2022
Swift 6.0.2 October 28, 2024 x86_64 arm64 6.0.2-windowsservercore-ltsc2022
Swift 6.0.1 September 24, 2024 x86_64 arm64 6.0.1-windowsservercore-ltsc2022
Swift 6.0 September 16, 2024 x86_64 arm64 6.0-windowsservercore-ltsc2022
Swift 5.10.1 June 5, 2024 x86_64 5.10.1-windowsservercore-ltsc2022
Swift 5.10 March 5, 2024 x86_64 5.10-windowsservercore-ltsc2022
Swift 5.9.2 December 11, 2023 x86_64 5.9.2-windowsservercore-ltsc2022
Swift 5.9.1 October 19, 2023 x86_64 5.9.1-windowsservercore-ltsc2022
Swift 5.9 1 September 18, 2023 x86_64 Signature (x86_64) Unavailable
Swift 5.8.1 1 June 1, 2023 x86_64 Signature (x86_64) Unavailable
Swift 5.8 1 March 30, 2023 x86_64 Signature (x86_64) Unavailable
Swift 5.7.3 1 January 18, 2023 x86_64 Signature (x86_64) Unavailable
Swift 5.7.2 1 December 13, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.7.1 1 November 1, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.7 1 September 12, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.6.3 1 September 2, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.6.2 1 June 15, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.6.1 1 April 8, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.6 1 March 14, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.5.3 1 February 9, 2022 x86_64 Signature (x86_64) Unavailable
Swift 5.5.2 1 December 13, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.5.1 1 October 25, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.5 1 September 20, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.4.3 1 September 9, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.4.2 1 June 28, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.4.1 1 May 25, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.4 1 April 26, 2021 x86_64 Signature (x86_64) Unavailable
Swift 5.3.3 1 December 14, 2020 x86_64 Signature (x86_64) Unavailable
Swift 5.3.2 1 December 14, 2020 x86_64 Signature (x86_64) Unavailable
Swift 5.3.1 1 November 12, 2020 x86_64 Signature (x86_64) Unavailable
Swift 5.3 1 September 16, 2020 x86_64 Signature (x86_64) Unavailable
1 Swift toolchain is provided by Saleem Abdulrasool. Saleem is the platform champion for the Windows port of Swift and this is an official build from the Swift project.

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

Instructions

main

April 3, 2025
Package installers (.exe)

release/6.2

May 30, 2025
Package installers (.exe)

Previous Snapshots (release/6.2)
Download