microsoft / microsoft/winget-cli
Feature: search package index by installer-type
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
It would be useful to query package index by installer-type, for example to show only portable apps and exes that can be installed in without needing elevated permissions. Since there are several installer-types this would be general solution for a variety of queries.
winget search --installer-type portable,exe,zip
Also consider making available to list command so the local inventory can be assessed:
winget list --installer-type appx,msix
There is the ability to search by tag, winget search --tag portable, but that's not robust or reliable as it only queries metadata which is free form and haphazard.
Originally posted by @maphew in https://github.com/microsoft/winget-cli/discussions/1887#discussioncomment-8338258
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing winget search and winget list command paths, then trace how installer types are represented and queried. Use the proposed comma-separated examples as acceptance checks: both commands should filter results by requested types such as portable, exe, zip, appx, and msix, with the behavior covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100