Skip to content

tedious to list available versions of a package.. #520

Closed

Description

It would be nice if getting hold of the available versions of a package was less involved.
If you don't know the package path in advance, you have to search for the package with winget search xxx then again with winget show xxx.yyy.zzz -versions, then winget install xxx.yyy.zzz -v a.b.c.
I'd like to be able to use -versions with search as this would cut out an unnecessary step,

Activity

  1. ghost added
    Needs-Triage
    on Jul 30, 2020
  2. megamorf commented on Jul 30, 2020

    @megamorf

    I think the separation of concern between searching across all latest versions of packages (winget search) and listing available versions of a specific packages (winget show) is good as it is. Mixing both just makes the code base needlessly complex and harder to maintain.

  3. denelon commented on Jul 31, 2020

    @denelon
    Collaborator

    I think I have some good news coming. JohnMcPMS did a hackathon project and has a PR out #521. If you're using PowerShell, you will have the ability to tab through the versions.

  4. added
    Issue-Feature
    and removed
    Needs-Triage
    on Jul 31, 2020
  5. vedantmgoyal9 commented on Sep 19, 2022

    @vedantmgoyal9
    Contributor

    Auto-completion is now available. This can be marked as completed.

  6. denelon commented on Sep 19, 2022

    @denelon
    Collaborator

    vedantmgoyal2009 I was looking at a YouTube video someone created for the Windows Package Manager. I noticed that they used "winget search" to try and find versions. I think this is a feature we want to implement. It's essentially adding "--versions" to the search command, and would produce the same output as "winget show --versions".

  7. denelon commented on Feb 22, 2023

    @denelon
    Collaborator

    This is resolved with:

    The feature is available in WinGet v1.5.441-preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions