How to Export or Import Apps Using Winget in Windows 11

Every time you clean and install the Windows operating system, the biggest trouble is to get back all apps and third-party software on your PC. You can take the help of the respective OEMs driver update utility to install the bare minimum drivers but that still leaves out third-party apps.

What if you could import all these apps at once on your PC? Well, the Windows Package Manager aka Winget offers an import and export feature that saves you the trouble of downloading and installing each app separately. This guide will elaborate on both the export and import feature of Winget and its shortcomings. Let’s begin.

4

What’s Winget?

Winget is an acronym forWindows Package Manager. It is a command-line tool which means you have to use CMD or PowerShell to run the tool. There is no official GUI interface available for the tool. Being an official app, it makes it easy for command-line users to manage application packages on their systems.

Rather than searching the web or Microsoft Store for apps, they can use Winget from the command line and search for any app listed in the repository. You can use Winget to install, uninstall, update, or even batch install or remove apps on Windows 11. But we will confine this post to the export and import feature only.

Dell monitor showing Windows 10 desktop

How to Export Apps Using Winget in Windows 11

Winget can export the list of installed apps into a JSON file. The file contains the package name, identifier, source details, and some more options. you could even export the app list into a text file, either of these file types works while importing. However, there are some caveats to this export process.

Firstly, this method only exports the installed apps list which is available in the Winget repository. It excludes Microsoft Store and third-party apps that aren’t yet listed in the Winget Repository. Moreover, it only exports the list of apps and doesn’t create any backup copies of actual app files. You will have to download all these apps and will need an internet connection to do so because Winget is an online-only utility.

MacBook and a Dell laptop running ZorinOS next to each other

Repeat the following steps to export the app list using Winget:

How to Edit the Exported JSON File

After exporting the installed apps JSON file, you may not need all the apps included in the list on your new PC. So, you’re able to weed out a few not-so-useful packages from the JSON file. Here’s how to do it:

How to Import Apps Using Winget in Windows 11

Repeat the following steps to import the JSON or Text file in Winget and then install all the apps:

Normally, this command should work fine but many users face an error while executing the import command. It is because some apps require you to accept source agreements and package agreements. So you must add the –accept-package-agreements and –accept-source-agreements arguments to the command.

firefox logo with yellow warning symbol

What About the Apps Not Included in the Exported File?

Winget does leave out a lot of apps that aren’t present in its repository. It also excludes the apps available on Microsoft Store because you can install them with one click after you sign in with the same account on another PC. But if you wipe everything on your PC and do a clean install, there’s no way to know the complete list of third-party programs previously installed on your PC.

But you can create a text file of all the excluded apps displayed in the Command Prompt window. Type the following command and pressEnter:

A black Windows laptop

The above command will create a Winget export file calledapps.json. It will also create a text file that will contain the complete output displayed in the Command Prompt. You can create a backup copy of this file and later use it to manually download and install the excluded apps.

Import Apps in One Click on Windows

Installing multiple apps on a new Windows 11 PC is a surmounting challenge but Winget solves this problem to some extent. It will help you download all the apps included in its official repository using the exported file. Your games and some third-party software will be left out, but you can use the text file to identify the missing ones and install them manually.

Learn how to use the new Windows Package Manager to download and refresh your software.

You can’t call this offline, Notion.

It saves me hours and keeps my sanity intact.

Revolutionize your driving experience with these game-changing CarPlay additions.

Free AI tools are legitimately powerful; you just need to know how to stack them.

Tor spoiled me forever.

Technology Explained

PC & Mobile