From 6fb2535b4c450d38afbf4b5037d2d7021bb6cfb5 Mon Sep 17 00:00:00 2001 From: Ramon Moraes Date: Tue, 2 Sep 2025 07:06:50 -0300 Subject: [PATCH] fix: fix incorrect winget install cmd the previous version of the recommended command line was throwing an error. this new proposed one will actually install the correct nushell from the winget store. --- book/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/installation.md b/book/installation.md index b5826b31d6e..51c8f522a44 100644 --- a/book/installation.md +++ b/book/installation.md @@ -30,9 +30,9 @@ For Windows: - [Winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/) - - Machine scope installation: `winget install nushell --scope machine` + - Machine scope installation: `winget install nu --source winget --scope machine` - Machine scope upgrade: `winget update nushell` - - User scope installation: `winget install nushell` or `winget install nushell --scope user` + - User scope installation: `winget install nu --source winget` or `winget install nu --source winget --scope user` - User scope upgrade: Due to [winget-cli issue #3011](https://github.com/microsoft/winget-cli/issues/3011), running `winget update nushell` will unexpectedly install the latest version to `C:\Program Files\nu`. To work around this, run `winget install nushell` again to install the latest version in the user scope. - [Chocolatey](https://chocolatey.org/) (`choco install nushell`)