winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Allow multiple search terms in "winget search" where matches would've had to match all terms.

Open DandelionSprout opened this issue 1 month ago • 0 comments

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

As of v1.12.350, Winget is (as far as I can tell) unable to support multiple terms in a single search, despite that general web search engines have been able to handle such for some 20 years now. So it shouldn't be impossible to have Winget support it too.

This would greatly help with more detailed searches. Someone searching for virtual machine programs, thinking of the "vm" shorthand and searching winget search vm would get around 130 results (many of them unrelated to virtual machines), while something like winget search "vm" "drive" would narrow it down faster.

Proposed technical implementation details

Make at least one of the following commands be able to find packages that match all terms (Micro + Soft is simply an example):

  • winget search "micro" "soft"
  • winget search "micro"+"soft"
  • winget search "micro""soft"
  • winget -q micro -q soft
  • winget search micro/soft

DandelionSprout avatar Nov 22 '25 17:11 DandelionSprout