winget-cli
winget-cli copied to clipboard
Issue with winget cli
Brief description of your issue
When trying to use the winget cli I am getting error
Program 'winget.exe' failed to run: The system cannot find the file specifiedAt line:1 char:1
+ winget --info
+ ~~~~~~~~~~~~~.
At line:1 char:1
+ winget --info
+ ~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
Steps to reproduce
Try to use the winget cli command in powershell
Expected behavior
I should be able to use winget to install packages
Actual behavior
It should install pacakge
Environment
Unable to get this info
I tried to run the Repair-WinGetPackageManager -AllUsers to repair the installation but it failed
Repair-WinGetPackageManager : No applicable license found.
At line:1 char:1
+ Repair-WinGetPackageManager -AllUsers
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Repair-WinGetPackageManager], WinGetIntegrityException
+ FullyQualifiedErrorId : RuntimeException,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet
Is this device connected to the Internet or does it have network restrictions?
I can use internet fine in that device.