tedious to list available versions of a package..
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,
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.
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.
- https://github.com/microsoft/winget-cli/pull/521
Auto-completion is now available. This can be marked as completed.
@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".