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 enable advanced settings on Windows 11

How to enable advanced settings on Windows 11

Microsoft introduces redesigned Advanced Settings page in Windows 11, adding system customization for developers and users with new features

How to fix “Docker: Invalid Reference Format” error

How to fix “Docker: Invalid Reference Format” error

Docker makes it easy to build, run, and manage containers. However, you may encounter an Invalid Reference Format error when running or building an image.

These safe alternatives to public Wi-Fi help protect your data

These safe alternatives to public Wi-Fi help protect your data

Whether you're working at a coffee shop or checking email at the airport, these more secure alternatives will keep your data secure without sacrificing your connection.

7 Smart Ways to Use Your Monitor Without a Computer

7 Smart Ways to Use Your Monitor Without a Computer

When you think of a monitor, you might imagine it connected to a PC or laptop. However, that monitor can actually work with many other devices.

How to turn off background applications on Windows

How to turn off background applications on Windows

Turning off background applications on Windows 10 will help your computer run less sluggishly and save system resources. The following article by WebTech360 will guide readers on how to turn off background applications on Windows 10.

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

After countless hours of using their college laptop and desktop speaker setup, many people discover that a few clever upgrades can turn their cramped dorm space into the ultimate streaming hub without breaking the bank.

8 hidden Windows touchpad gestures that make your workflow lightning fast

8 hidden Windows touchpad gestures that make your workflow lightning fast

A laptop's touchpad isn't just for pointing, clicking, and zooming. The rectangular surface also supports gestures that let you switch between apps, control media playback, manage files, and even view notifications.

How to fix Bad System Config Info error in Windows 10

How to fix Bad System Config Info error in Windows 10

Bad System Config Info is a common bug check error on Windows 10 systems. Let's look at some solutions to fix this issue.

How to make Taskbar transparent on Windows 11

How to make Taskbar transparent on Windows 11

Like Windows 10, you can also use third-party software to make Windows 11 Taskbar transparent.

How to invert screen colors using Magnifier Windows 11

How to invert screen colors using Magnifier Windows 11

Using the Magnifier inversion feature on Windows 11 can improve text readability, especially for people who are sensitive to light.

4 ways to pin windows on Windows screen

4 ways to pin windows on Windows screen

If you are wondering how to pin any window to always be on top of other windows (always on top), read this article right away!

Enable XMP to optimize RAM speed

Enable XMP to optimize RAM speed

If you're looking to build your own PC system and decide to invest in some high-speed RAM, how do you make sure your RAM can perform at the advertised speeds?

How to reset Ethernet connection in Windows 11

How to reset Ethernet connection in Windows 11

A quick way to fix the most common wired network problems is to reset your Ethernet connection. Here are the steps to reset your Ethernet connection in Windows 11.

How to add exceptions in Windows Defender on Windows 10

How to add exceptions in Windows Defender on Windows 10

Windows Defender is built into Windows 10 to find malware. To improve performance for tasks like compiling code or running virtual machines, you can add exceptions so Windows Defender will never scan those files.

How to change the default location of the Windows 11 Documents folder

How to change the default location of the Windows 11 Documents folder

If you want, you can move the Documents folder and its contents to another location on your computer, following the instructions below.