From aeee0873fc68d64c86f42627f842c33e14bbc03f Mon Sep 17 00:00:00 2001 From: DinahK2-SO <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon, 24 Aug 2026 11:16:22 +0800 Subject: [PATCH 1/4] add winget command --- src/ch01-01-installation.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/ch01-01-installation.md b/src/ch01-01-installation.md index a9e03f534a..fd2e51bc82 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]. From b3214e5603c3fd2db6c242ad106cf444d726ee1c Mon Sep 17 00:00:00 2001 From: DinahK2-SO <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon, 24 Aug 2026 11:24:41 +0800 Subject: [PATCH 2/4] Add winget to spellcheck dictionary --- ci/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/dictionary.txt b/ci/dictionary.txt index 565c934f13..1c20727d74 100644 --- a/ci/dictionary.txt +++ b/ci/dictionary.txt @@ -632,6 +632,7 @@ WebSocket whitespace wildcard wildcards +winget Wirth workflow workspace From 8ecdbd4a8ec1173a82f00a2af4081af912f4cbba Mon Sep 17 00:00:00 2001 From: DinahK2-SO <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon, 24 Aug 2026 11:27:40 +0800 Subject: [PATCH 3/4] Add Rustlang to spellcheck dictionary --- ci/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/dictionary.txt b/ci/dictionary.txt index 1c20727d74..cde83c9c62 100644 --- a/ci/dictionary.txt +++ b/ci/dictionary.txt @@ -474,6 +474,7 @@ RUSTFLAGS Rustonomicon rustfix rustfmt +Rustlang RustLangES rustup sampleproject From f693ecc5f07bf4fd736403b11f4a4e800a604d4b Mon Sep 17 00:00:00 2001 From: DinahK2-SO <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu, 27 Aug 2026 14:35:32 +0800 Subject: [PATCH 4/4] add "> " for pwsh command --- src/ch01-01-installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch01-01-installation.md b/src/ch01-01-installation.md index fd2e51bc82..214e011188 100644 --- a/src/ch01-01-installation.md +++ b/src/ch01-01-installation.md @@ -64,7 +64,7 @@ Alternatively, you can install Rust using winget (Windows Package Manager) by ru the following command in PowerShell: ```powershell -winget install --id Rustlang.Rustup --exact --source winget +> winget install --id Rustlang.Rustup --exact --source winget ``` At some point in the installation, you’ll be prompted to install Visual Studio.