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 Clear NVIDIA Shader Cache on Windows

How to Clear NVIDIA Shader Cache on Windows

Clearing the NVIDIA Shader Cache will reset the system, forcing it to rebuild with new data. Here are instructions for clearing the NVIDIA Shader Cache.

Summary of some simple ways to disable USB ports on Windows computers

Summary of some simple ways to disable USB ports on Windows computers

Unlocking USB ports in BIOS is not difficult. However, how to lock computer USB ports? Let's find out with Quantrimang.com!

Extremely simple tips to change IP without VPN

Extremely simple tips to change IP without VPN

Being blocked online can be frustrating, whether it's a forum lockout, a game ban, or a temporary IP restriction. The good news is that you don't always need a VPN to get around these restrictions.

How to Take Advantage of the Performance Tab in Task Manager

How to Take Advantage of the Performance Tab in Task Manager

When your computer crashes, seeing how everything is running can help you troubleshoot. And when everything is working, this information can also help you optimize your system.

5 tips to help your Windows 11 laptop battery last all day

5 tips to help your Windows 11 laptop battery last all day

Windows laptops aren't known for their battery life, at least not without some tweaking. But these tips will help your laptop last all day without having to find a power outlet.

Enable or disable the built-in Administrator account on Windows

Enable or disable the built-in Administrator account on Windows

Windows 10/11 includes a hidden Administrator account that you can use to manage all the important data on your computer. Let's see how to enable or disable the built-in Administrator account on Windows 10/11!

Instructions to fix System Service Exception error on Windows

Instructions to fix System Service Exception error on Windows

System Service Exception or SYSTEM_SERVICE_EXCEPTION is one of the BSOD errors (blue screen of death errors). System Service Exceptions errors occur quite commonly and continuously.

Recover Deleted Data with Recuva Portable in Windows 7

Recover Deleted Data with Recuva Portable in Windows 7

In the following article, we will present the basic operations to recover deleted data in Windows 7 with the support tool Recuva Portable. With Recuva Portable, you can store it in any convenient USB, and use it whenever needed. The tool is compact, simple, easy to use with some of the following features:

How to delete duplicate files to save computer memory using CCleaner

How to delete duplicate files to save computer memory using CCleaner

CCleaner scans for duplicate files in just a few minutes, then lets you decide which ones are safe to delete.

10 Windows Settings You Should Never Leave as Default

10 Windows Settings You Should Never Leave as Default

Windows doesn't come with security set up by default, which means there are some default settings you need to change.

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

USB devices have become indispensable in everyday life, allowing us to connect a wide variety of essential hardware to our PCs.

How to Lock Guest Wi-Fi Network So No One Can Spy

How to Lock Guest Wi-Fi Network So No One Can Spy

If you properly lock down your guest Wi-Fi network, you can share your Internet connection with any visitors without sharing any other information.

Lost Admin rights on Windows 10, heres how to fix it

Lost Admin rights on Windows 10, heres how to fix it

For some reason, your Windows 10 computer lost Admin rights, every time you open an application on the screen you receive an error message. So how to restore lost Admin rights, please refer to the article below of WebTech360.

3 ways to turn off Windows 11 firewall

3 ways to turn off Windows 11 firewall

In this article, WebTech360 will guide you how to turn off the firewall on Windows 11.

Windows 11 22H2: Moment 1 update with many notable features

Windows 11 22H2: Moment 1 update with many notable features

After a long wait, the first major update of Windows 11 has officially been released.