From ba3330823bbb7439fa18b5d35fd7b238eb9b765b Mon Sep 17 00:00:00 2001 From: David Sass <10754765+sassdawe@users.noreply.github.com> Date: Thu, 9 Apr 2026 13:03:58 +0200 Subject: [PATCH] Update installation commands for GitHub CLI Added '--source winget' option to install and upgrade commands. On machines where the `Store` source is enabled but the license to use the store is not granted specifying the source is required. This does not have any negative effect. --- docs/install_windows.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install_windows.md b/docs/install_windows.md index 88ddc99b8..508afca3f 100644 --- a/docs/install_windows.md +++ b/docs/install_windows.md @@ -11,13 +11,13 @@ The [GitHub CLI package](https://winget.run/pkg/GitHub/cli) is supported by Micr To install: ```pwsh -winget install --id GitHub.cli +winget install --id GitHub.cli --source winget ``` To upgrade: ```pwsh -winget upgrade --id GitHub.cli +winget upgrade --id GitHub.cli --source winget ``` > [!NOTE]