Skip to content

"winget install [package id]" should almost never be ambiguous #1574

Description

Brief description of your issue

I've tried to install a package using its ID and been told that it is ambiguous.

% winget search signal
Name                                                   Id                             Version       Match       Source
-----------------------------------------------------------------------------------------------------------------------
...
Signal                                                 OpenWhisperSystems.Signal      5.19.0                    winget
...

% winget install OpenWhisperSystems.Signal
Multiple packages found matching input criteria. Please refine the input.
Name               Id                        Source
----------------------------------------------------
Time Speaker Clock 9WZDNCRDHNXW              msstore
Signal             OpenWhisperSystems.Signal winget

"Time Speaker Clock" didn't even come up for search, which was using an even less restrictive keyword than "OpenWhisperSystems.Signal".

I am aware of --id, but I do not think that the user should need to memorize arcane incantations for simple tasks. 😄

Expected behavior

It installs the one, the only, package identified by the ID OpenWhisperSystems.Signal.

Environment

Windows Package Manager v1.1.12702
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22474.1000
Package: Microsoft.DesktopAppInstaller v1.16.12702.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions