Skip to content

Commit ed6abb2

Browse files
authored
Fix examples in Windows installation options (#415)
* Fix typo in `_winget.md` * Use `winget install --id --exact` * Fix typo in Visual Studio command-line options * Replace VS 2019 Community with Build Tools for WinGet * Fix missed typo * Bumps Visual Studio and Windows SDK example to modern versions * Bump Visual Studio and Windows SDK example to modern versions
1 parent bea484f commit ed6abb2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

install/windows/_scoop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Invoke-RestMethod get.scoop.sh | Invoke-Expression
3131
</div>
3232

3333
~~~ batch
34-
curl -sOL https://aka.ms/vs/16/release/vs_community.exe
35-
start /w vs_community.exe passive wait norestart nocache add Microsoft.VisualStudio.Component.Windows10SDK.19041 —add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
34+
curl -sOL https://aka.ms/vs/17/release/vs_community.exe
35+
start /w vs_community.exe --passive --wait --norestart --nocache --add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
3636
del /q vs_community.exe
3737
~~~
3838

install/windows/_winget.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
0. Install required dependencies:
66

77
~~~ batch
8-
winget install Git.Git
9-
winget install Python.Python.3.9
10-
winget install Microsoft.VisualStudio.2019.Community force custom "add Microsoft.VisualStudio.Component.Windows10SDK.19041 —add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
8+
winget install --id Git.Git -e
9+
winget install --id Python.Python.3.9 -e
10+
winget install --id Microsoft.VisualStudio.2022.Community --exact --force --custom "--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
1111
~~~
1212

1313
Start up a new command-line shell (eg. Command Prompt, Windows PowerShell) and install the Python library `six`.
@@ -19,5 +19,5 @@
1919
0. Install Swift:
2020

2121
~~~ batch
22-
winget install Swift.Toolchain
22+
winget install --id Swift.Toolchain -e
2323
~~~

0 commit comments

Comments
 (0)