-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
0.70.0 Command Not Found utility can't find winget client powershell module #30887
Comments
@Eastegg , Does it work if you try to run the The module is needed as it's a way for having PowerShell commands to search winget packages. /needinfo |
I'm having the same issue, the problem I have found is that the file WinGetCommandNotFound.psd1 does not exist in the PowerToys install directory, I can use WinGet just fine, but since that file is missing I get the error. |
Sorry, I'm reply too late, and thank you for help. And I can use winget in powershell 7.4.1, but looks like powertoys wasn't found it. |
Me too ! Thank you for the info, do you fix it ? |
I ran this command... PS: Install-Module -Name Microsoft.WinGet.Client -RequiredVersion 0.2.1 fixed the issue |
Thanks for your help, but even I use "Install-Module -Name Microsoft.WinGet.Client -RequiredVersion 0.2.1" It still shows "Source Location 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/0.2.1' is not valid." It may have something to do with my regional network ? |
Thanks eveyone for helping me, I solved it with Install module form local repository. |
Microsoft PowerToys version
0.70.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Welcome / PowerToys Tour window
Steps to reproduce
It happend after I upgrade PowerToys
✔️ Expected Behavior
I think the WinGet on my PowerShell is working fine. It should be find in the PowerToys.
❌ Actual Behavior
Now it ask me to install-module , and I can't download it.
Other Software
No response
The text was updated successfully, but these errors were encountered: