How to use Windows Package Manager to easily install and update programs

If you’ve never used a package manager before, you should. They’re a useful piece of software that allows you to install and manage different software (called “packages”) in one unified interface. Microsoft now has its own Windows Package Manager, which lets you install thousands of different packages. Read on to learn how—and why—you should use Windows Package Manager.

Install Windows Package Manager

winget (pronounced “win get”) is a command-line tool for finding, installing, and uninstalling packages from the Windows Package Manager. If you have Windows 11 , winget is already installed for you.

You can install winget by downloading the “App Installer” from the Microsoft Store . If you don’t see the “Get” button, you may already have winget installed.

Use Windows Package Manager to install applications

You will need to open a command line interface before you can use winget. Press the Win key, type “terminal” and click on the Terminal application.

How to use Windows Package Manager to easily install and update programs
Open Terminal

The search feature in Windows Package Manager is powerful. Here's how to use it to find and install a package.

1. Type winget search firefox and press Enter.

How to use Windows Package Manager to easily install and update programs
Windows Package Manager finds Firefox packages

2. You will see a list of packages containing the search term, in this case “firefox”. Select and copy the text under the “ID” column – “Mozilla.Firefox” in this case.

How to use Windows Package Manager to easily install and update programs
Select Mozilla Firefox

3. To get more details about the package, type winget show Mozilla.Firefox , making sure that the text after “show” is exactly the text you copied in the previous step. From the information displayed, you can verify whether the package you want is from a legitimate source. For example, check that the “Download URL” is the official website of the developer.

How to use Windows Package Manager to easily install and update programs
Show download URL

4. Type winget install Mozilla.Firefox to download the package and start the installation process. If you see the Firefox installer appear, you're done!

How to use Windows Package Manager to easily install and update programs
Firefox Installer

Batch install multiple applications

winget can create a .JSON file with a list of applications called a "manifest", then use that manifest to install the same applications on another computer. This is Ninite functionality without the need for a third-party installer!

1. Type winget export -o , replacing the path to the new .JSON file. For example, winget export -o C:\Users\Brandon\Desktop\packages.json .

How to use Windows Package Manager to easily install and update programs
Winget exports packets

2. Share the .JSON file with another computer.

3. On the other computer, simply type winget import using the manifest file path. This will immediately start installing each of the listed applications one by one.

How to use Windows Package Manager to easily install and update programs
Winget import packets

Upgrade packages in Windows Package Manager

One great feat of winget is that it can update multiple programs from a single interface.

1. Type winget upgrade to display all applications that need to be upgraded.

How to use Windows Package Manager to easily install and update programs
Show all apps that need to be upgraded

2. You can upgrade an application by copying the ID and using it in a command. For example:

winget upgrade Microsoft.WindowsTerminal
How to use Windows Package Manager to easily install and update programs
Upgrade an app by copying the ID

3. Better yet, you can type winget upgrade --all to upgrade every application that has a new version. This will run each installation process in turn.

How to use Windows Package Manager to easily install and update programs
Upgrade all apps to new versions

Uninstall packages in Winget

With winget you can easily find installed applications on your computer and remove them.

1. Type winget list to display all applications on your PC that are managed by winget, including programs you didn't originally install with winget.

2. To narrow down the list, you can add an option and type winget list --name fire to include only applications named “fire”. Alternatively, try winget list --tag browser to list all packages with the tag “browser”.

How to use Windows Package Manager to easily install and update programs
Narrow down the list to find the app you want to uninstall.

3. You can uninstall a program using the ID of one of the listed packages. For example, enter winget uninstall Google.Chrome to uninstall Google Chrome.

How to use Windows Package Manager to easily install and update programs
Uninstall a program using the ID of one of the listed packages

Improved search in Winget

Here are some useful ways to find Windows Package Manager:

  • Enter the command winget search --query "" to display all winget packages available for download. Don't forget to include your search query between quotation marks, such as “browser”.
  • winget search --tag browser --count 10 to display a limited list of 10 packages with the tag “browser”.
  • winget.run is a website with an intuitive interface that allows you to search and browse all winget packages.
Sign up and earn $1000 a day ⋙

Leave a Comment

How to display Libraries folder on Windows 11

How to display Libraries folder on Windows 11

The Libraries folder in Windows 11 is hidden in the File Explorer interface, but you can easily show it again with just a few taps.

How to fix high memory usage issue on Microsoft Edge

How to fix high memory usage issue on Microsoft Edge

Are you getting a High Memory Usage Detected warning while browsing on Microsoft Edge? It means that some browser processes are using too much memory (RAM).

How to set up speech recognition in Windows

How to set up speech recognition in Windows

Follow these steps to set up speech recognition on your Windows laptop or PC.

Restore hidden folders in Windows when infected with virus

Restore hidden folders in Windows when infected with virus

In many cases, it is usually due to virus attacks that the hidden folders of the system cannot be displayed even after activating the “Show hidden files and folders” option in Folder Options. Some of the following methods will help to handle this problem.

3 ways to turn off Windows 10 firewall

3 ways to turn off Windows 10 firewall

Sometimes you still need to turn off the firewall to perform certain functions. The 3 ways to turn off the Win 10 firewall below will help you in such situations.

How to add Shutdown desktop shortcut in Windows 11

How to add Shutdown desktop shortcut in Windows 11

If you're looking for a quicker method, here's how to add a dedicated shutdown shortcut to your Windows 11 desktop or taskbar.

How to add JPEG XL support in Windows 11

How to add JPEG XL support in Windows 11

Windows 11 doesn't support the JPEG X image format by default, but you can install an add-on that does. Here's how to add JPEG XL support in Windows 11.

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

In the process of pinning applications, sometimes we encounter some errors such as not being able to pin the application to the Taskbar. Below are some ways to fix the error of not being able to pin the application to the Windows 11 Taskbar.

Should I use Windows BitLocker to encrypt my hard drive?

Should I use Windows BitLocker to encrypt my hard drive?

Windows BitLocker offers an easy-to-use solution for encrypting your hard drive. However, it also has its drawbacks, so it may not be a great choice for everyone.

How to Overwrite Deleted Data on a Drive in Windows 11/10

How to Overwrite Deleted Data on a Drive in Windows 11/10

This guide will show you how to overwrite (securely erase) deleted data on a drive so that it cannot be recovered or accessed in Windows 10 and Windows 11.

Tips to add Copilot to Windows 11 right-click menu

Tips to add Copilot to Windows 11 right-click menu

If you regularly use Copilot on Windows 11, there is a very simple way to quickly access Copilot, which is to add Copilot to the right-click menu.

How to add a printer to Windows 10

How to add a printer to Windows 10

Adding a printer to Windows 10 is simple, although the process for wired devices will be different than for wireless devices.

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

A new utility is being developed that will help remove the strict system requirements of Windows 11.

10 Important Mistakes to Avoid When Maintaining Your Computer

10 Important Mistakes to Avoid When Maintaining Your Computer

PC maintenance is essential for long-term, efficient performance. However, there are some mistakes you can make that can do more harm than good to your PC.

How to enable Smart App Control Windows 11 protection

How to enable Smart App Control Windows 11 protection

Smart App Control (SAC) is a security feature included in the Windows Security application that locks down the system, allowing only trusted applications to run.