Skip to content

Commit 08a5c95

Browse files
authored
Merge pull request #38449 from apple/compnerd/vs-bootstrapper
Update WindowsBuild.md
2 parents 7e9e79d + fb9c585 commit 08a5c95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/WindowsBuild.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The commands below (with the exception of installing Visual Studio) must be ente
1111
An easy way to get most of the tools to build Swift is using the [Visual Studio installer](https://www.visualstudio.com/downloads/). This command installs all needed Visual Studio components as well as Python, Git, CMake and Ninja:
1212

1313
```
14+
curl.exe -sOL https://aka.ms/vs/16/release/vs_community.exe
1415
vs_community ^
1516
--add Component.CPython3.x64 ^
1617
--add Microsoft.VisualStudio.Component.Git ^
@@ -19,6 +20,7 @@ vs_community ^
1920
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
2021
--add Microsoft.VisualStudio.Component.Windows10SDK ^
2122
--add Microsoft.VisualStudio.Component.Windows10SDK.17763
23+
del /q vs_community.exe
2224
```
2325

2426
If you prefer you can install everything by hand, but make sure to include "Programming Languages|Visual C++" and "Windows and Web Development|Universal Windows App Development|Windows SDK" in your installation. The components listed above are required.

0 commit comments

Comments
 (0)