module. He spoke the words to download the tools directly from the PowerShell Gallery powershell # Trust the gallery first
If successful, it will return the current version number (e.g., install winget using powershell updated
If you are running the modern PowerShell 7 module, you can utilize the Install-Resource cmdlet (part of the Microsoft.WinGet.Client module), though this is essentially a wrapper for the App Installer. module