Skip to content

Commit ba33308

Browse files
authored
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.
1 parent 6e91daa commit ba33308

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/install_windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ The [GitHub CLI package](https://winget.run/pkg/GitHub/cli) is supported by Micr
1111
To install:
1212

1313
```pwsh
14-
winget install --id GitHub.cli
14+
winget install --id GitHub.cli --source winget
1515
```
1616

1717
To upgrade:
1818

1919
```pwsh
20-
winget upgrade --id GitHub.cli
20+
winget upgrade --id GitHub.cli --source winget
2121
```
2222

2323
> [!NOTE]

0 commit comments

Comments
 (0)