Thursday, July 16, 2026

Winget Commands

 

Winget Stuff

Things you need to know:

Things you don't want to upgrade:
Serious blocking:
winget pin add --id TrackerSoftware.PDF-XChangeEditor --blocking
Casual blocking:
winget pin add --id CodeJelly.Launchy
Did it work:
winget pin list
 
Let's do it:
"winget upgrade" produces a list
"winget upgrade --all"
If "winget upgrade --all" doesn't work, probably the upgrades shown are not "proven" yet.
 
The best upgrade command:
winget upgrade --all --include-unknown --silent --accept-package-agreements  --accept—source-agreements --disable-interactivity
 
Installing several at once:
winget install first.one second.one
With ids in a string add the conditions to the end of the string
 
Uninstalling:
If programs installed as user, use cmd non-admin. If all users use cmd admin
 
List all your installed programs:
winget export -o "%USERPROFILE%\desktop\apps.json"

Winget Commands

  Winget Stuff Things you need to know: Things you don't want to upgrade: Serious blocking: winget pin add --id TrackerSoftware.PD...