Expand description
winget package manager implementation (Windows Package Manager).
winget does not reliably accept multiple packages in one call, so each package is installed in a separate process invocation.
Every call pins the package with --id <pkg> --exact: without --exact
winget matches IDs by substring, so OpenJS.NodeJS would report an
installed OpenJS.NodeJS.22 as present, and an install query can resolve
to several packages and refuse to pick one.
Structs§
- Winget
- Package manager implementation for Windows (winget).
Constants§
- UPDATE_
NOT_ APPLICABLE APPINSTALLER_CLI_ERROR_UPDATE_NOT_APPLICABLE:winget installfound the package already installed with no newer version to upgrade to.