Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget install GitHub.cli doesn't do the needful #1648

Closed
miniksa opened this issue Oct 26, 2021 · 3 comments
Closed

winget install GitHub.cli doesn't do the needful #1648

miniksa opened this issue Oct 26, 2021 · 3 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@miniksa
Copy link
Member

miniksa commented Oct 26, 2021

Brief description of your issue

Installing GitHub CLI from WinGet is not straightforward.

I would have thought that calling for it by "gh" or "github" or "github.cli" would have installed it sensibly.

Instead, it appears the store search database is returning completely irrelevant things and getting in the way.

Steps to reproduce

C:\Windows\system32>winget install gh
Multiple packages found matching input criteria. Please refine the input.
Name       Id           Source
-------------------------------
AquaCheck  9WZDNCRDKSFZ msstore
GitHub CLI GitHub.cli   winget

C:\Windows\system32>winget install github.cli
Multiple packages found matching input criteria. Please refine the input.
Name                                                                                   Id           Source
-----------------------------------------------------------------------------------------------------------
Java Education Platform - Scripting Language: Engineering theory & test for developers 9PN0V3G6PGH5 msstore
GitHub CLI                                                                             GitHub.cli   winget               

Expected behavior

Github CLI is installed

Actual behavior

I have no idea why it's giving me terrible store results for either of my queries and not just installing the thing.

Environment

C:\Windows\system32>winget --info
Windows Package Manager v1.1.12663
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.258
Package: Microsoft.DesktopAppInstaller v1.16.12663.0

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

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@ghost ghost added the Needs-Triage Issue need to be triaged label Oct 26, 2021
@jedieaston
Copy link
Contributor

Duplicate of #1523.

A fix was supposed to be pushed for this yesterday, guess it didn't happen. For the meantime, append -s winget to your commands to force winget to only search the community repo.

@denelon
Copy link
Contributor

denelon commented Oct 27, 2021

Duplicate of #1523

@denelon denelon marked this as a duplicate of #1523 Oct 27, 2021
@ghost
Copy link

ghost commented Oct 27, 2021

@miniksa we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Oct 27, 2021
@ghost ghost added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Oct 27, 2021
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants