brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: winget download saves a Windows installer without running it

Windows
~/tips/tip-windows-winget-download-installer

winget download --id Microsoft.PowerToys

Fetch an app's installer to a folder for later or another PC.

Sometimes I want the installer file itself: for a machine with a slow connection, or to keep next to a setup script. winget download does that and stops there.

Search for the exact package ID first, then download it:

winget search powertoys
winget download --id Microsoft.PowerToys

The file lands in your Downloads folder, together with any dependencies the package declares. To pick your own place and a specific build, add two options:

winget download --id Microsoft.PowerToys --architecture x64 --download-directory D:\Installers

--version works too when you need an older release, and --installer-type chooses between formats if the package offers more than one. If the name you type matches several packages, winget asks you to narrow it down, which is why I stick to --id.

Two limits to know. Microsoft Store packaged apps need a Microsoft Entra ID sign-in to download, so this is mostly for ordinary desktop programs. And a saved installer is frozen in time. Check for a newer version before you run it on a new PC months later, or you start out with an outdated app.

Further reading: winget download command

More Windows tips Win+Ctrl+C Win+Shift+Left arrow Win+Ctrl+Left arrow Alt+PrtScn Left Alt + Left Shift + Print Screen All Windows tips (33) All topics

Link