Unable to install an app using winget? Maybe try using the Package ID of the app with -e and –id flags in the mix.
winget CLI tool for Windows 10 makes it extremely easy to download and install apps from the command prompt. You could use the
winget install <app-name> command to download and install almost all Windows software, even those which aren’t available on the Microsoft Store yet.
However, you might run into a ‘Multiple apps found… Please refine the input’ error when trying to install some apps. We ran into a similar error while trying to install ‘Steam’ with
winget install steam command.
C:\Users\ATH> winget install steam Multiple apps found matching input criteria. Please refine the input. Name Id Version --------------------------------------------------------- Steam Valve.Steam 184.108.40.206 Git Extensions GitExtensionsTeam.GitExtensions 3.3.1
To fix this problem, use the package ID of the app that you wish to install. The package ID will be displayed in the output, below the ‘Id’ column. For steam, it’d be
Valve.Steam (as you can see in the output above).
winget install <package-id> For example: winget install valve.steam
If the error still persists, you can throw in the exact match
-e flag and the
--id flag as well into the mix.
💡 While using
-e flag, package ID/name will be Case Sensitive. Use the ID exactly the same way as displayed in the output.
The final command (with
--id flags) would be:
winget install -e --id <Package-Id> For example: winget install -e --id Valve.Steam
If you use the correct package ID (which is Case Sensitive),
winget will install the app without any further issues.
C:\Users\ATH> winget install -e --id Valve.Steam Found Steam [Valve.Steam] This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe ██████████████████████████████ 1.50 MB / 1.50 MB Successfully verified installer hash Installing ... Successfully installed!
For more help, you may want to see our guide using winget command to search and install apps from command-line.