Skip to content
GEEKnodes

Windows

winget: Install and Update All Windows Apps with One Command

Guide to winget, the Windows 10 and 11 package manager: search, install, upgrade everything at once, move your apps to a new PC and fix errors.

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:

  1. Update App Installer from the Microsoft Store.
  2. 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:

Flow: search a program, pick its exact Id and install it on the PC.
Search the package, check its Id and then install it.
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:

ProgramCommand
Google Chromewinget install --id Google.Chrome -e
VLCwinget install --id VideoLAN.VLC -e
7-Zipwinget install --id 7zip.7zip -e
Visual Studio Codewinget install --id Microsoft.VisualStudioCode -e
PowerToyswinget 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:

One winget command sends updates to several installed programs.
winget upgrade –all updates several programs at once.
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:

The program list goes from the old PC to a JSON file and then to the new PC.
Export the list to JSON and import it on the new PC.
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

CommandPurpose
winget download --id … -eDownload the installer without installing
winget repair --id … -eRepair an installed app (if its installer supports it)
winget source updateUpdate the package list
winget settingsOpen the settings.json file
winget --infoShow 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 search and use the exact Id with -e. Run winget source update in case the list is stale.
  • Source errors (for example 0x8a15000f): reset sources with winget source reset --force from an admin terminal.
  • winget upgrade always shows the same program: often happens when it self-updates and records its version wrongly. Pin it with winget pin add or ignore it.
  • Installation seems stuck: some installers open windows. Use --silent or check for a window behind the terminal.
  • Errors 0x801901a0, 0x80d03002 or 0x80070490: the winget repository keeps a common errors guide with each fix.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor