How to try out the Windows Package Manager on your PC right now

Spread the love
  • Yum

If you use Linux, you can install software by downloading installers from the web, but the more common approach is using a package manager. This allows the swift, silent installation of software from the command line literally by typing out a command to install whatever it is you want. There are many repositories you can add, but the process remains the same.

You can already do something similar on Windows with Chocolatey, a community-supported repository of packages and a companion installer that allows you to manage your Windows software installs from within PowerShell or Command Prompt. But Microsoft is also building out its own, the Windows Package Manager, and it’s available in preview right now.

Save big on these VPN services ahead of Black Friday

Here’s how you can try it out.

Before you begin

Anyone can try out the Windows Package Manager, but there are still some prerequisites that need to be met if you wish to get access through the Microsoft Store and have automatic updates.

  • The client only supports Windows 10 version 1709 (build 16299) or later.
  • Install a Windows 10 Insider build

Or

How to install the Windows Package Manager Client

If you meet the requirements above, then the Windows Package Manager Client (also known as winget-cli) will be distributed through an updated version of the App Installer through the Microsoft Store. You need to ensure that if you signed up for the Insiders Program, your Microsoft Account there is the same as the one you access the Store with.

Once updated, you should have access to the Client and be able to install packages with winget.

There are alternative methods, however, and despite being in the Insiders Program, I’ve been unable it seems to receive the updated App Installer through the Store. But no worry, you can also manually install it from GitHub. This is the same version as released through the Microsoft Store, but you won’t get automatic updates; you’ll have to do it yourself.

To install manually:

  1. Go to the Windows Package Manager Client releases page on GitHub.
  2. Download the appxbundle for the latest release.

    Windows Package Manager

    Source: Windows Central

  3. Open the downloaded file.
  4. Click Update to start the installation.

    Windows Package Manager

    Source: Windows Central

The winget-cli update will now be applied to the already installed App Installer for you to use on your PC. It’s a good idea to keep the releases page bookmarked, as to update winget-cli, you’ll need to follow the steps above again when a new version is released.

You can also build it yourself if you’re brave or familiar with Visual Studio 2019. For more details on this, check out the GitHub page.

Once installed, you’re ready to start grabbing packages. You can use either the old-school Command Prompt, Windows PowerShell, or the newer PowerShell 7 to interact with winget-cli.

To verify it’s all installed correctly, open either of the shells mentioned above and type winget --info and assuming all is well, you’ll see some blurb on the version you have installed.

Leave a Reply

%d bloggers like this: