Microsoft is finally releasing an official package manager for Windows. During Build 2020, Microsoft announced the new preview of Windows Package Manager, a command-line tool that lets you install your favorite tools quickly and easily. The package repository is open source, you can find them here.
Using the Windows package manager, from a command, you can install your favorite tool: winget install
You can get Windows Package Manager today in a number of ways:
- If you’re a Windows insider, you might already have it. First, you can head to the open source GitHub repository for the client.
- Second, you can join one of the Windows Insider Rings.
- Third, you can join the Windows Package Manager Insider program by sending your Microsoft Account (MSA) to [emailÂ protected] and ask to be included in the preview.
- Either of the Insider programs will ensure that you automatically receive updates as we progress from preview to general availability.
- After joining one of the Insider programs, go to the Microsoft Store and get the app installer. The Windows Package Manager will be available after the update.
We don’t know how Windows Package Manager will compete with Chocolatey, one of the top 3rd Party Package Manager for Windows. Chocolatey has the largest online registry of Windows packages. One of the reasons Microsoft decided to create a new package manager instead of contributing to existing package managers is security.
Windows Package Manager automatically checks each manifest. It uses SmartScreen, Static Analysis, SHA256 hash validation and a few other processes to prevent malware from entering the repository and on PCs.
You can learn more about it here.