Windows Package Manager winget command-line tool is available on Windows 11 and modern versions of Windows 10 as a part of the App Installer.
This tool is the client interface to the Windows Package Manager service.
You can use use this tool to install different applications from the terminal.
Installation Link to heading
Option 1 Link to heading
Use Microsoft Store: App Installer
Option 2 Link to heading
Download from the GitHub winget-cli release page
Option 3 Link to heading
- Open PowerShell (Administrator mode):
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
- Lets try to execute
winget
. If you can see a normal output, then you are ready to use winget - If winger is not found after installation:
- Lets find a Winget directory:
dir C:\Program Files\WindowsApps\Microsoft.Winget.Source*
- Lets register a package:
Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.Winget.Source_2021.718.1322.843_neutral__8wekyb3d8bbwe\AppXManifest.xml" -Verbose
- NOTE: you need to use your directory name instead of “Microsoft.Winget.Source_2021.718.1322.843_neutral__8wekyb3d8bbwe”
Usage Link to heading
Command | Description |
---|---|
search | Searches for an application. |
install | Installs the specified application. |
show | Displays details for the specified application. |
…. | Other winget commands |