How to Export and Import Installed Applications in Windows 11 Using Windows Package Manager (winget)

Setting up a new Windows 11 computer or reinstalling the operating system after a hardware upgrade typically requires hours of manual application downloads, navigating vendor websites, dodging ad-laden installers, and clicking through repetitive installation wizards. For power users and IT technicians managing fleets of workstations, configuring software environments manually is inefficient.

The Windows Package Manager (winget), integrated natively into Windows 11, includes an automated export and import mechanism. By generating a single JSON configuration manifest of your installed software, winget allows you to replicate your entire software suite across multiple computers or restore all applications after a clean operating system reinstall with a single terminal command.

Verifying winget Availability on Windows 11

The Windows Package Manager is included out of the box with the App Installer package in Windows 11:

  1. Press Win + X and select Terminal (or PowerShell).
  2. Verify the installed winget version:
winget --version
  1. If winget is not recognized, open the Microsoft Store, search for App Installer, and update it to the latest release.

Exporting Installed Applications to a JSON Manifest

To export a list of all winget-managed applications currently installed on your computer:

  1. Create a dedicated folder for your backup manifests or navigate to your user directory:
cd $HOMEDocuments
  1. Execute the export command:
winget export -o installed_apps.json

Winget scans your system, matches installed software against the official Windows Package Manager community repository and Microsoft Store sources, and writes a structured JSON file containing application package IDs and source repositories.

Customising the Export Manifest

By default, winget export captures exact package version numbers. When restoring software months later on a new machine, installing outdated versions is undesirable. You can instruct winget to capture only generic package references so that subsequent imports automatically pull the latest releases:

  1. Export without pinning specific versions:
winget export --include-versions false -o modern_apps.json
  1. You can open the resulting JSON file in Notepad or VS Code to remove software you do not want replicated on the target system (such as proprietary drivers or machine-specific utilities).

Importing and Batch-Installing Software on a New Machine

Once you transfer your installed_apps.json file to your new or freshly formatted Windows 11 PC (via USB drive, network share, or OneDrive):

  1. Open Terminal (Admin) by right-clicking the Start button.
  2. Navigate to the directory containing your manifest file.
  3. Execute the import command to initiate automated batch installation:
winget import -i installed_apps.json --accept-source-agreements --accept-package-agreements

The --accept-source-agreements and --accept-package-agreements flags bypass manual interactive license agreements, allowing winget to download, verify SHA256 checksums, and silently install each application in the background.

Handling Missing Packages and Verification

If a specific package from your old PC is no longer available in the repository or is restricted to a different architecture, winget skips that item, logs an alert, and continues installing remaining applications.

Once the process completes, verify your active software installations:

winget list

Using winget export and import transforms a tedious multi-hour workstation deployment into a dependable, automated 15-minute background routine.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.