2020-10-05 15:56:02 +01:00
|
|
|
# winget
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Windows Package Manager.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows/package-manager/winget>.
|
2020-10-05 15:56:02 +01:00
|
|
|
|
|
|
|
- Install a package:
|
|
|
|
|
|
|
|
`winget install {{package}}`
|
|
|
|
|
2023-06-08 18:16:36 +01:00
|
|
|
- Remove a package (Note: `remove` can also be used instead of `uninstall`):
|
|
|
|
|
|
|
|
`winget uninstall {{package}}`
|
|
|
|
|
2020-10-05 15:56:02 +01:00
|
|
|
- Display information about a package:
|
|
|
|
|
|
|
|
`winget show {{package}}`
|
|
|
|
|
|
|
|
- Search for a package:
|
|
|
|
|
|
|
|
`winget search {{package}}`
|
2022-10-16 05:41:04 +01:00
|
|
|
|
2023-06-08 18:16:36 +01:00
|
|
|
- Upgrade all packages to the latest versions:
|
2022-10-16 05:41:04 +01:00
|
|
|
|
|
|
|
`winget upgrade --all`
|
|
|
|
|
2023-06-08 18:16:36 +01:00
|
|
|
- List all packages installed that can be managed with `winget`:
|
2022-10-16 05:41:04 +01:00
|
|
|
|
|
|
|
`winget list --source winget`
|
2023-06-08 18:16:36 +01:00
|
|
|
|
|
|
|
- Import packages from a file, or export installed packages to a file:
|
|
|
|
|
|
|
|
`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}`
|
|
|
|
|
|
|
|
- Validate manifests before submitting a PR to the winget-pkgs repository:
|
|
|
|
|
|
|
|
`winget validate {{path/to/manifest}}`
|