WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 20d6c8d

Browse files
Update ch01-01-installation.md | winget for Windows
winget installation for rustup
1 parent 8c0eacd commit 20d6c8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/ch01-01-installation.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ ignore -->.
6868
The rest of this book uses commands that work in both _cmd.exe_ and PowerShell.
6969
If there are specific differences, we’ll explain which to use.
7070

71+
### Installing `rustup` on Windows using `winget`
72+
Installing MSVC Pre-Requisite
73+
```
74+
winget install Microsoft.VisualStudio.2022.Community --silent --override "--wait --quiet --add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended"
75+
```
76+
Installing `rustup`
77+
```
78+
$ winget install -e --id Rustlang.Rustup
79+
```
80+
7181
### Troubleshooting
7282

7383
To check whether you have Rust installed correctly, open a shell and enter this

0 commit comments

Comments
 (0)