One WinGet export turned my hours-long laptop setup into two commands

One WinGet export turned my hours-long laptop setup into two commands

Published Dec 1, 2026, 7:00 AM EST Patrick Campanale has been in the tech space for well over a decade, specializing in PC/gaming news and reviews, as well as maker-focused products to build small businesses. With a start in technology back in 2010 surrounding the Palm/webOS ecosystem, Patrick spent his formative years developing mobile applications as well as blogging for various publications, eventually leading to starting his own website in 2014. After running a technology blog for a few years, he stepped out of that role and into the world of high-end custom PC manufacturing and building, with a focus on YouTube video production and overclocking. Then, in 2017, Patrick joined the 9to5Toys team as an editor/writer/reviewer with over 14,000 articles being published during his time there, ranging from deals and roundups to in-depth reviews on the latest technology, video games, 3D printers, and more. In his free time, Patrick loves to create projects from wood using various robots and methods, including leveraging the technologies of CNCs and lasers. If Patrick isn't working on a computer or playing video games, he's likely in his 2-car garage workshop creating something unique. In addition to all this, Patrick is also the media director at his local church where he feels God has called him to serve, and he loves every minute of it. I got tired of sitting at review laptops for hours on end downloading and running installers to get them set up before I could actually begin using them. Necessity is the mother of invention, so I figured out a way to speed up the process using WinGet. With WinGet, I was able to export a JSON file that had all my necessary apps for both personal use and benchmarking and turn what used to be an hours-long process into two commands that handle the entire installation process for me automatically. I used to lose my first evening with every review laptop to download pages Now one command does the boring part for me Every review device I get in, whether laptop or desktop, goes through the same process. I receive it, I unbox it, I start installing the same software on it. Of course I use the laptop like normal, but "normal" for me means a lot of the same apps. I always install Obsidian, because that's where I write all of my articles. 1Password gets installed because that's how I log into everything. Claude, Spark, Affinity, Canva, Discord, WhatsApp, Telegram, Slack, Asana, Todoist all also get installed because they're core apps for me to get my work done on a day-to-day basis. On top of the basic apps that I always install, there are benchmarking apps that I always install—Geekbench, Novabench, Cinebench, and several others. The problem is, I used to lose an entire evening just downloading apps. I would keep some installers on hand because the installer would pull the latest version of the app during install, but most apps I would download fresh because I wanted to make sure I got the latest version of the app from the start to prevent having to update it later. This meant navigating to download pages on every website for every app, and using the Microsoft Store for some apps. Once an app was downloaded, I would have to walk through the installer, clicking next, agreeing to terms and privacy policies, and it would just take forever. It was a boring task that required a lot of hands-on time to accomplish. My current PC already knows what to install on the next one The raw list just needs a quick cleanup first Something that I only recently learned about was WinGet. If you’ve never heard of it, it’s a command-line package manager that's pre-installed on Windows which can handle installing applications similar to apt on Ubuntu or brew on macOS (though HomeBrew is a third-party app). Once I found out about WinGet, I also found out about its export option. Running a simple command like winget export -o apps.json exports everything that WinGet can match to a source. You don’t have to have installed the apps through WinGet, it just has to be a package that WinGet is capable of installing. On my current desktop, for instance, WinGet matched 106 packages. The thing is, WinGet can use this same JSON file to install the applications it contains. So, I took and built two separate JSON files for me to use on review machines: a daily driver package, and a benchmarking kit package. The daily driver package goes on any computer I own, more or less. It contains those must-have apps (like 1Password, Obsidian, Chrome, etc.) that I’ll use on any computer. The benchmarking kit pre-installs apps that I need for benchmarking, like Geekbench 6, HWiNFO, SystemInfo, DiskSpd, Steam, and quite a few other apps that help make it so that way I can just install a single file and walk back to a ready-to-go system. One thing to note is sometimes the exported JSON from WinGet will have Microsoft Store apps that don’t decode to their actual app name by default. For example, I have an app that shows as XP8K17RNMM8MTN installed from the Microsoft store. Running the command winget show --id XP8K17RNMM8MTN told me that app is Canva. If you want to use WinGet like me, just make sure you go through the exported JSON with a fine-toothed comb because it has a lot of apps in there, and you might not want every single one of them in your ready-to-go app installer list. One command installs everything while I go do something else Run it from an admin terminal so it doesn't stop to ask Now that I’ve got my JSON files prepped and ready to go, all it takes is a single command to get things rolling. From an elevated command terminal, I run winget import -i apps.json --accept-package-agreements --accept-source-agreements --ignore-unavailable to start the installation. What this does is install everything in the apps.json file, automatically accepting any agreements the packages have, and it doesn’t stop running if one package isn’t available (that’s what the --ignore-unavailable flag does). I run it from an elevated command prompt because that makes it so the installer doesn’t stop partway through for a UAC admin prompt pop-up. This doesn’t actually set up any of the apps, but it does let me run the command and come back whenever I’m ready to a computer that’s ready to go. I don’t have to navigate to download pages, I don’t have to launch installers, and I don’t have to click “next” a dozen times per app. WinGet handles it all for me. Now, it’s not as applicable to my setup, but there is a command called winget configure which takes a YAML file and can apply Windows settings like dark mode, showing file extensions, and more. With winget configure it’s possible to make the WinGet package handle some setup within supported apps, but it’s just not worth the hassle for me to try and get that up and running. Just automating the installation of the apps is good enough for me. It's the first file I copy to every new laptop I keep the two WinGet JSON files stored safely on my NAS so I can easily connect any review device that comes in, grab the file, and get it installing within just a few minutes. It’s the first thing I run on any computer because it just makes my life easier once I run it. Even if you don’t review laptops and set new systems up every few weeks, it’s good to know how to build a WinGet export for whenever you get a new computer. Exporting a WinGet JSON file from your current computer will make setting up your new computer that much easier.

Original Source

Read the full article at Howtogeek →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.