Skip to content
Software

How to Install All Your Apps at Once With Winget

Winget is a free tool built into Windows 11 that installs apps with a single command. Type winget install followed by an app’s ID to install it, or use winget export and winget import to copy every app from your old PC to a new one.

Setting up a new PC usually means visiting a dozen websites to download Chrome, VLC, Steam, and everything else, then clicking through each installer. Windows has a built-in tool called winget that does all of it with one command.

It’s already on Windows 11, and on Windows 10 it comes with the App Installer from the Microsoft Store. It downloads each app from its official source, so it’s safer than hunting for download links.

Install one app

Right-click the Start button and choose Terminal. Then search for the app you want:

winget search vlc

The list shows each app’s Id. Use it to install the app:

winget install --id VideoLAN.VLC -e

The -e means “exact match”, so it installs exactly that app and nothing with a similar name.

Install lots of apps at once

Paste several install commands into Terminal at once, one per line, and winget installs them one after another. Edit this list to suit you:

winget install --id Google.Chrome -e
winget install --id Mozilla.Firefox -e
winget install --id VideoLAN.VLC -e
winget install --id 7zip.7zip -e
winget install --id Notepad++.Notepad++ -e
winget install --id Valve.Steam -e
winget install --id Discord.Discord -e

Terminal may warn that you’re about to paste text with several lines. That’s expected here, so confirm the paste. The first time you run it, winget asks you to accept the source agreement. Type Y and press Enter. Some apps also ask for permission to make changes, so keep an eye on the screen for a minute or two.

Run Terminal normally, not as administrator. Winget asks for permission when an app needs it, and a few apps, like Spotify, refuse to install from an administrator window.

Copy all your apps from your old PC

This is the best part. On your old PC, open Terminal and run:

winget export -o apps.json

This saves a list of every app winget recognises into a file called apps.json, in the folder Terminal is open in (usually your user folder). Copy that file to the new PC, open Terminal in the same folder, and run:

winget import -i apps.json --accept-package-agreements --accept-source-agreements --ignore-unavailable

Winget then installs everything on the list. The --ignore-unavailable part tells it to skip anything it can’t find, instead of stopping. Apps you installed from elsewhere won’t be on the list, so check for any you still need afterwards.

Update everything at once

Winget can update your apps too. This one command updates everything it can:

winget upgrade --all

I run it every few weeks, usually with a cup of tea while it works through the list. It’s much quicker than opening each app to check for updates.

Prefer clicking to typing?

Ninite does a similar job with a website. You tick the apps you want, download one installer, and it installs them all without any extra toolbars or offers.

Questions

Is winget safe?

Yes. It’s made by Microsoft, and it downloads apps from their publishers’ official sources. Stick to the IDs from well-known publishers, like Google.Chrome rather than a similarly named copy.

“winget is not recognized”. What do I do?

Install or update App Installer from the Microsoft Store, then open a new Terminal window and try again.

Setting up a new PC? My Windows 11 settings to change and first-time PC setup recommendations cover the rest, and here’s how to uninstall multiple programs at once to clear out the trial software first.