41

There doesn't seem to be a built in option to filter by available upgrade or source.

I have tried this but it still lists everything:

winget list --source winget
Gama11
  • 31,714
  • 9
  • 78
  • 100
David Hatch
  • 2,406
  • 1
  • 17
  • 11

3 Answers3

77

I found a solution that works. You use the upgrade command with no arguments instead of the list command. This wasn't clear to me in the documentation but works perfectly.

winget upgrade
David Hatch
  • 2,406
  • 1
  • 17
  • 11
  • 1
    FYI, the documentation has been clarified: https://learn.microsoft.com/en-us/windows/package-manager/winget/upgrade#using-upgrade – Doug Mar 09 '23 at 15:09
  • 1
    And if you want to do actual upgrade of all those packages type `winget upgrade --all` – Igor Jun 11 '23 at 06:52
1

Try Running the command winget upgrade to get available upgrade Fromthe response if you want to upgrade any then type in winget upgrade <id name>

0

You can also filter by source using this syntax

winget list --upgrade-available --source=winget