4 ms·
I was super excited to see this comment, but I don't seem to have those cmdlets, even though I'm on Windows 11, fully updated. Are you sure you didn't install s
by gecko 2y ago
I was super excited to see this comment, but I don't seem to have those cmdlets, even though I'm on Windows 11, fully updated. Are you sure you didn't install something extra?
- easton 2y agoIf I recall correctly, they only work in PowerShell 7. If you don’t even have them in there, you can install them from https://github.com/microsoft/winget-cli https://github.com/microsoft/winget-cli (which is bad UX, but if you just need them on one system it’s a way to do it).
- gecko 2y agoI'm in PowerShell 7.4.2 and they're definitely absent. I hadn't thought to install directly from GitHub, given part of the whole shtick of winget is it's The One True Package Manager and bundled, but I can't say I'm surprised, either...
- Uvix 2y agoProbably better off installing from PowerShell Gallery instead. https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/ https://www.powershellgallery.com/packages/Microsoft.WinGet....
- deleted 2y ago[deleted]
- g15jv2dp 2y agoI don't remember. Maybe I did install the modules. https://www.powershellgallery.com/packages/Microsoft.WinGet.Client https://www.powershellgallery.com/packages/Microsoft.WinGet.... Install-Module -Name Microsoft.WinGet.Client