Winget-cli: winget doesn't understand some of the commands

Created on 14 Jun 2020  路  3Comments  路  Source: microsoft/winget-cli

Tried to install Powershell (Microsoft.Powershell) via winget but it seems like it is confused.

Powershell

image

Command Prompt

image

winget version (Microsoft.DesktopAppInstaller v1.0.41331.0)

image

Needs-Triage

All 3 comments

Hey @sayedarifuddin, thanks for taking the time to report this. It's a known user experience issue so please use the --exact (-e) switch to make winget treat the search string as literal instead of attempting a substring match.

Since there are already open issues for this problem yours can be considered a duplicate, so please close it and subscribe to the following issues instead:

  • #282
  • #292
  • #301

Hello, Even using the --exact switch it seems to confuse winget:
image
image
image

@LoZeno The command is case sensitive. You're searching for Powershell but should be searching for PowerShell instead. The developers are planning to make it case insensitive to fix issues like these.

Was this page helpful?
0 / 5 - 0 ratings