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.
This commit is contained in:
David Sass 2026-04-09 13:03:58 +02:00 committed by GitHub
parent 6e91daa8b0
commit ba3330823b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]