First look at the Windows Package Manager

Microsoft released a preview of the Windows Package Manager at this time throughout the digital Build 2020 convention. Windows directors could use it to put in first-party and third-party packages akin to 7-Zip, KeePass, Arduino IDE, or Discord.

The bundle supervisor, just like bundle managers on Linux programs, permits customers to seek for, obtain, set up, and uninstall packages and packages for the Windows working system. Its most important function is to automate the set up, updating and configuration of software program on Windows.

Windows Package Manager works just like bundle managers on Linux or third-party Windows packages akin to Chocolatey.  Microsoft determined to launch it as open supply; customers can take a look at the GitHub repository for documentation and obtain of the preview model of the Package Manager.

The bundle supervisor requires at least Windows 10 model 1709 and could also be put in both from the Microsoft Store (requires a Windows 10 Insider construct and sending an invitation e mail for now), or manually from GitHub.

Once put in, open a Windows Terminal, PowerShell or Command Prompt occasion to start out utilizing it. The command is winget and you might wish to run it with none parameter to show the out there instructions and assist first.


The most important instructions out there at the time are:

  • winget set up // to put in a program.
  • winget present // shows details about the specified software.
  • winget supply // to mange sources.
  • winget search // to checklist all packages or particular ones.
  • winget hash // to hash installer information.
  • winget validate // to validate manifest information.

The command winget search shows the checklist of packages that Windows Package Manager helps presently. A wide selection of common packages in addition to developer instruments is supported presently. Programs like vim, Whatsapp, GIMP, VLC, Steam, or Sublime Text will be put in utilizing the Package Manager.

windows package manager preview

Please word that uninstall performance just isn’t supported at this time limit. Microsoft plans to combine the function in addition to checklist and replace performance quickly into the program.

The command winget set up “program identify” downloads the chosen bundle and runs its installer. Programs appear to be downloaded from third-party websites (the developer website) and never from a repository that Microsoft maintains.

The file location is displayed by winget. The bundle supervisor helps exe, msi, and msix installers presently.

winget install

Winget could also be run with out elevated rights. The set up of some packages could require elevation, nevertheless and prompts might be displayed if that’s required.

The command winget present “bundle identify” shows details about the program; this will likely embody hyperlinks to the homepage and license, obtain URL, SHA256 hash, and sort of installer.

Software corporations and builders could wonder if they might submit their packages to the Windows Package Manager in order that they’re included. Microsoft has information on the course of on the Docs web site. Basically, what builders have to do is create a bundle manifest that gives details about the software earlier than they submit the manifest to the Windows Package Manager repository on GitHub.

Scripting is supported; admins could create batch or powershell scripts to put in a number of functions at as soon as, e.g.

@echo off
Echo Install Powertoys and Terminal
REM Powertoys
winget set up Microsoft.Powertoys
if %ERRORLEVEL% EQU zero Echo Powertoys put in efficiently.
REM Terminal
winget set up Microsoft.WindowsTerminal
if %ERRORLEVEL% EQU zero Echo Terminal put in efficiently. %ERRORLEVEL%

Closing Words

Windows Package Manager might change into a vital instrument in the arsenal of Windows system directors and in addition dwelling customers. It is determined by quite a lot of elements together with if and the way it’ll be built-in into Windows natively, the availability of packages, and performance.

Now You: What is your tackle the Windows Package Manager?

Check Also

VLC 3.3 for Android introduces a massive list of new features

VideoLAN, the maker of the favored VLC Media Player, has launched VLC 3.3 for Android …

Leave a Reply

Your email address will not be published. Required fields are marked *