Installing software with winget

Install software without hunting down websites and clicking through setup wizards? With winget, the Windows package manager, you install and update programs with a single command. Ideal for a new PC or for updating everything in one go. This article shows how winget works.

Do you have winget already?

Open Terminal and type winget --version. On Windows 11 and recent versions of Windows 10, winget comes with the App Installer app. If you get an error, install or update App Installer from the Microsoft Store.

Checking the winget version in Terminal

The key commands

CommandWhat it does
winget search vlcSearch for a program
winget install --id VideoLAN.VLCInstall a program
winget listShow all installed programs
winget upgradeShow which programs have an update
winget upgrade --allUpdate everything at once
winget uninstall --id VideoLAN.VLCRemove a program

Always use --id with the exact name from winget search, so you get the right package.

Installing a program with winget

Moving to a new PC

  1. On your old PC: winget export -o apps.json
  2. Copy apps.json to the new PC.
  3. On the new PC: winget import -i apps.json

Handy examples

Tips

Read also

Install, update and use PowerShell 7 on Windows
Install PowerToys on Windows 11: the most useful tools
Run Command Prompt as administrator in Windows 11 and 10: 6 ways

Nederlandstalige versie: Software installeren en bijwerken met winget in Windows


More in English