-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to the list command #964
Comments
Hey @denelon glad to see this issue! For me and likely many other users, this is an essential feature needed before adopting It's a bit more than just an inconvenience because the situation is compounded by the fact that many current winget users also use chocolatey, scoop, or both, and so the ability to list packages installed specifically with |
@ev-dev be sure to add your 👍 to the issue. We often sort by most 👍 to find high priority / high value features. We have a large number of Issues in v.Next right now to evaluate for v1.1. |
while there is a search option in the consoles of cmd and PowerShell (Ctrl+F) there is no search in Windows Terminal yet. How about: just tested winget search / list support piping to more. examples: winget list -p / winget list --p |
I have just discovered Is there a way to get a list sorted in alphabetical order of the package names? I would use |
@JohnMcPMS do you know what might be driving the order of the output for |
I'm experimenting with winget again, and I'm surprised there is still no way to get a usable sorted list of
My use case here is that I have recently installed the Now, I have also use the following, and found out that
I can do the following, with WSL installed, but it's kind of an overkill. And I don't want to learn PowerShell syntax (I'm a Linux user and I like python and bash for scripting)
|
[Policy] Command-List @denelon / @stephengillie - Also should have Area-Performance |
I have just used I see I can get a more sensible output using |
|
Trouble is that I only use PowerShell as a terminal (in a Windows Terminal) I mostly use Linux related shells and programming tools on remote servers, and I'm not going to spend time learning PS prpgramming, unless it exactly matches what I already use for Linux (like |
|
I have directly pasted the command in a PS, but I'm getting a
|
|
Read earlier that PS 7.x and 5.1 differ for thes capabilities of the module. Where PS 7.x takes the lead. |
Thanks @stephengillie ! I have succesfully used the I had to use an elevated PS and accept something called
Afterwards, I was indeed able to get a sorted output of
|
I'm very sorry for giving bad advice in this thread. It definitely was overkill and I'll avoid doing so in the future. |
@stephengillie Do not worry, I think your answer was quite relevant and I have added it to my small winget documentation! But I do hope some winget developper (@denelon ?) will eventually address the following questions:
|
Description of the new feature/enhancement
We need to build a cache to improve performance for the list command.
We need to record everything installed by the Windows Package Manager explicitly.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: