diff --git a/ci/dictionary.txt b/ci/dictionary.txt index 565c934f13..cde83c9c62 100644 --- a/ci/dictionary.txt +++ b/ci/dictionary.txt @@ -474,6 +474,7 @@ RUSTFLAGS Rustonomicon rustfix rustfmt +Rustlang RustLangES rustup sampleproject @@ -632,6 +633,7 @@ WebSocket whitespace wildcard wildcards +winget Wirth workflow workspace diff --git a/src/ch01-01-installation.md b/src/ch01-01-installation.md index a9e03f534a..214e011188 100644 --- a/src/ch01-01-installation.md +++ b/src/ch01-01-installation.md @@ -58,10 +58,18 @@ the `build-essential` package. ### Installing `rustup` on Windows On Windows, go to [https://www.rust-lang.org/tools/install][install] and follow the instructions for installing Rust. At some point in the -installation, you’ll be prompted to install Visual Studio. This provides a -linker and the native libraries needed to compile programs. If you need more -help with this step, see +--> and follow the instructions for installing Rust. + +Alternatively, you can install Rust using winget (Windows Package Manager) by running +the following command in PowerShell: + +```powershell +> winget install --id Rustlang.Rustup --exact --source winget +``` + +At some point in the installation, you’ll be prompted to install Visual Studio. +This provides a linker and the native libraries needed to compile programs. If +you need more help with this step, see [https://rust-lang.github.io/rustup/installation/windows-msvc.html][msvc].