1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/winget.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

36 lines
831 B
Markdown

# winget
> Windows Package Manager.
> More information: <https://learn.microsoft.com/windows/package-manager/winget>.
- Install a package:
`winget install {{package}}`
- Remove a package (Note: `remove` can also be used instead of `uninstall`):
`winget uninstall {{package}}`
- Display information about a package:
`winget show {{package}}`
- Search for a package:
`winget search {{package}}`
- Upgrade all packages to the latest versions:
`winget upgrade --all`
- List all packages installed that can be managed with `winget`:
`winget list --source winget`
- 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}}`