Microsoft’s new command line package manager, winget allows users to easily discover, install, update and manage applications on their system. It’s similar to Choclatey, Homebrew, apt-get, yum or pacman.

Updated versions of Windows 10 and 11 should already have winget installed. But if you don’t already have winget installed, you need to install App Installer in the Windows Store. This will include winget.

winget search [package name]

To search for a package, simply run

Installing Burp Suite Community edition.

winget update [package name]

To update a package, users can run the command

 

Other Resources

Winstall.app is useful site to find packages and quickly generate install scripts. It can generate .ps1, batch or by using winget import. This allows you to easily choose different command line options to quickly build the install configuration that you need.

Winget.run is another repository to find winget packages and generate one liners. Although this site has less options for command generation

 

winget vs. Chocolatey

I have been using chocolatey for a few years, and although I found it useful, it didn’t live up to its full potential and also posed some security issues. I appreciate that winget is maintained by Microsoft and that the packages aren’t controlled by community members who can abandon packages.

 

Other useful resources

Winget Github

Microsoft Learn | Winget

Privacy Preference Center