You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to select installer when multiple matches are returned. #1620
That's a great question, I was thinking about that, and haven't come up with the "best" solution yet. With the import command, the Id and source are specified.
Darshan Rander (@SirusCodes) we would love to have a community contributed solution. The first step would be to draft a spec so we can take feedback on the proposed implementation. There is a template and there are a few examples in the specs folder. Please create a draft PR when you're ready for review and feedback 😊
I think we would want a feature toggle and some discussion about how an interactive command might work. Some users may also prefer the current experience so they can continue having scripted solutions which don't support interactive behaviors. I'd expect that to be controlled by some kind of setting with a rational default behavior/setting.
If they have scripted solutions, they would be using IDs and won't ever see this interactive option while using scripts. I don't see a need for a feature toggle 🤔
How would this work if winget was running non-interactively?
It would just fail in the same way it does now. Is there an exit code now? I don't know but it should be the same as to not break and be backwards compatible.
Thanks for filing this. Closing as a duplicate of #301, which now captures this same request — an interactive numbered selection prompt when a query matches multiple packages — as the canonical issue. Consolidating the discussion there keeps the signal in one place.
If this is important to you, please add a 👍 to #301 so we can gauge interest.
Activity
jedieaston commentedon Oct 21, 2021
How would this work if winget was running non-interactively?
denelon commentedon Oct 21, 2021
That's a great question, I was thinking about that, and haven't come up with the "best" solution yet. With the import command, the Id and source are specified.
denelon commentedon Oct 21, 2021
Another example for this in an unrelated issue:
#301 (comment)
SirusCodes commentedon Aug 5, 2022
This kind of solution is fine I feel. Are there any plans to integrate it? maybe I can work on it
denelon commentedon Aug 5, 2022
Darshan Rander (@SirusCodes) we would love to have a community contributed solution. The first step would be to draft a spec so we can take feedback on the proposed implementation. There is a template and there are a few examples in the specs folder. Please create a draft PR when you're ready for review and feedback 😊
denelon commentedon Aug 5, 2022
I think we would want a feature toggle and some discussion about how an interactive command might work. Some users may also prefer the current experience so they can continue having scripted solutions which don't support interactive behaviors. I'd expect that to be controlled by some kind of setting with a rational default behavior/setting.
SirusCodes commentedon Aug 5, 2022
If they have scripted solutions, they would be using IDs and won't ever see this interactive option while using scripts. I don't see a need for a feature toggle 🤔
add spec for microsoft#1620
add spec for microsoft#1620
danny007in commentedon Nov 8, 2023
any progress
SirusCodes commentedon Nov 8, 2023
#2650 you can see the spec here and further updates will be on this PR I guess
update microsoft#1620 spec to consider multiple package installation
theking2 commentedon Jul 1, 2026
It would just fail in the same way it does now. Is there an exit code now? I don't know but it should be the same as to not break and be backwards compatible.
denelon commentedon Jul 26, 2026
Thanks for filing this. Closing as a duplicate of #301, which now captures this same request — an interactive numbered selection prompt when a query matches multiple packages — as the canonical issue. Consolidating the discussion there keeps the signal in one place.
If this is important to you, please add a 👍 to #301 so we can gauge interest.
Drafted with the help of GitHub Copilot.