mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 03:53:45 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
41
tldr/windows/winget
Normal file
41
tldr/windows/winget
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user