winget is Windows’ official package manager. It lets you install programs without hunting for installers online, update everything with a single command and take your app list to a new PC. It comes with Windows 11 and current Windows 10 versions.
Official reference: WinGet documentation on Microsoft Learn.
Check you have it
Open Terminal, PowerShell or Command Prompt and type:
winget --version
If it returns a version number, you are set. winget is part of App Installer, updated from the Microsoft Store, and runs on Windows 10 version 1809 or later, Windows 11 and Windows Server 2025.
If the command is not recognized:
- Update App Installer from the Microsoft Store.
- If you just created the user, wait a few minutes: winget registers on first sign-in. To force it, in PowerShell:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
Search and install programs
Search by name:

winget search firefox
You see a table with name, Id and source (winget is the community repository and msstore the Microsoft Store). Install using the exact Id to avoid the wrong package:
winget install --id Mozilla.Firefox -e
-e (--exact) requires an exact Id match. Some common Id examples:
| Program | Command |
|---|---|
| Google Chrome | winget install --id Google.Chrome -e |
| VLC | winget install --id VideoLAN.VLC -e |
| 7-Zip | winget install --id 7zip.7zip -e |
| Visual Studio Code | winget install --id Microsoft.VisualStudioCode -e |
| PowerToys | winget install --id Microsoft.PowerToys -e |
To see package information (version, publisher, website, license) before installing:
winget show --id VideoLAN.VLC -e
Update everything at once
The star feature. To see which programs have updates:

winget upgrade
And to update them all:
winget upgrade --all
Some hand-installed programs do not report their version in a way winget understands. To include them too:
winget upgrade --all --include-unknown
If you want no prompts (for example in a script), add:
winget upgrade --all --silent --accept-package-agreements --accept-source-agreements
Stop a specific program updating
If a program must stay on a version (compatibility or a buggy new release), pin it:
winget pin add --id Mozilla.Firefox -e
winget pin list
winget pin remove --id Mozilla.Firefox -e
List and uninstall programs
winget list
winget uninstall --id VideoLAN.VLC -e
winget list shows everything installed, including what you did not install with winget, a quick way to take inventory.
Move your programs to another PC
Export the installed program list to a JSON file:

winget export -o programs.json
Copy the file to the new PC and install everything at once:
winget import -i programs.json --accept-package-agreements --accept-source-agreements
Only programs available in winget sources are exported; the rest are skipped (you get a warning).
Other useful commands
| Command | Purpose |
|---|---|
winget download --id … -e | Download the installer without installing |
winget repair --id … -e | Repair an installed app (if its installer supports it) |
winget source update | Update the package list |
winget settings | Open the settings.json file |
winget --info | Show version, log paths and applied policies |
Administrator or not
- If you run winget without admin rights, installers needing them ask for User Account Control confirmation.
- If you run it as administrator, there are no prompts: install only trusted packages.
Is it safe?
Packages in the winget repository are community submitted, but each manifest passes automated validation and points to the maker’s official installer, checked with its SHA256 hash. Still, always check Id and publisher (winget show) before installing, as you would downloading from a website.
Common problems
- “No package found matching input criteria”: search first with
winget searchand use the exact Id with-e. Runwinget source updatein case the list is stale. - Source errors (for example
0x8a15000f): reset sources withwinget source reset --forcefrom an admin terminal. winget upgradealways shows the same program: often happens when it self-updates and records its version wrongly. Pin it withwinget pin addor ignore it.- Installation seems stuck: some installers open windows. Use
--silentor check for a window behind the terminal. - Errors 0x801901a0, 0x80d03002 or 0x80070490: the winget repository keeps a common errors guide with each fix.



