Winget-cli: List installed Apps

Created on 11 May 2020  路  11Comments  路  Source: microsoft/winget-cli

As a user I want to be able to see what winget has installed on my machine and if an update is available so I don't have to manually do updates for each program.

Issue-Feature Size-XXL

Most helpful comment

I will once again suggest apt syntax:

winget list # lists apps installed by winget
winget list --upgradable # lists only installed apps with available updates

All 11 comments

I will once again suggest apt syntax:

winget list # lists apps installed by winget
winget list --upgradable # lists only installed apps with available updates

I have an early draft started of the spec.

397

Do you care about differentiating packages installed by winget vs packages installed outside of it? I don't see the value in treating them differently. I could potentially see value in this for upgrade, but it would make more sense to provide a way to pin a package to a specific version, preventing it from being upgraded. This could apply to any package.

Does anyone have a use case that requires explicitly tracking everything installed by winget?

When this feature is coming out? Any date?

@mhm13dev we do not have a date identified, but it is targeted for v0.3.x. For reference, the v0.2.x is targeted as support for installing store apps. That work is in progress, so this will be coming soon. Any dates on milestones are just used to help with sorting and do not reflect an actual target release date.

Does anyone have a use case that requires explicitly tracking everything installed by winget?

Chocolately can do this. More than that, knowing which software was installed if a bunch of things were installed with winget and even more importantly, knowing which ones need an update is helpful. I do think there should be a separate flag for checking if a winget package is update-able. Also this helps if you need to migrate to a new machine/VM/cloud instance so you don't forget what to install. Ideally we could take the output and put in a text file. A followup could be using that text file on the new machine to grab the packages.

@mhm13dev this feature is in the current version in an experimental mode.

when I test out the experimental feature, I am not sure on the expectations . . so I have some q's.

When I run the following:

winget list | sls -Pattern powershell

image

I only see the MSStore version that is installed [7.2.1.0], not the other non store version e.g. [7.1.0]

However I do actually have the other version installed..

image

Am I missing something or is this because it's still experimental ? OR is the expectation that only the MSStore apps will be upgradable ?

@brwilkinson , the work to also list the entries that you would expect from Add/Remove Programs is coming soon (in master, but we are flighting it internally still). It is definitely our goal to have everything that you can install through winget also show up in list and be able to upgrade and uninstall.

Thanks @JohnMcPMS

I wasn't sure, since I half expected Winget to keep track of what it installed and be able to list them out or upgrade them.

@brwilkinson , that too is coming soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aetos382 picture aetos382  路  5Comments

denelon picture denelon  路  3Comments

chrpai picture chrpai  路  3Comments

TomBrien picture TomBrien  路  4Comments

sob picture sob  路  5Comments