Installing apps using Windows Package Manager in Windows 11; How to update or remove?

If you’ve used Linux before; How to use its command line interface to access online storage and install apps on your computer Similarly, Windows has a tool called Windows Package Manager for developers and experienced power users who use Terminal to quickly install apps from the Microsoft Store and Microsoft’s repository. Type in a few commands.

Using the Windows Package Manager (winget) to install and manage apps on Windows can be a bit daunting for the average user due to its steep learning curve. But it doesn’t have to be that way. To make this process easier; To quickly install apps in Windows 11; We’ve put together this guide that shows you how you can use the Windows Package Manager to update or remove.

How to Install Windows Package Manager in Windows 11

Windows Package Manager in Windows 10; It comes installed by default in all versions of Windows starting from version 1809. Whether it is already installed on your PC or not, you can make sure to download it quickly by following the steps below.

Step 1: Press Windows + S keys and type. Command Prompt. Then click Run as administrator from the results for Command Prompt.

Step 2: Click Yes when the User Account Control (UAC) prompt appears on the screen.

Step 3: Type the following command in the Command Prompt window and press Enter to check if Windows Package Manager is installed on your PC.

winget

If you have Windows Package Manager installed on your system; You should see a list of other winget commands and you should be good to go. On the other hand, If you haven’t installed it yet, You can download it by clicking the download button below.

How to download and install apps using the Windows Package Manager

Windows Package Manager can help you download apps from the Microsoft Store and Microsoft’s repository with thousands of free third-party apps. For that, You will need to run some commands using Command Prompt or PowerShell to find the app you want to download and install.

Here’s how to do the same using Windows Package Manager (winget) on your PC.

Step 1: Press Windows + S keys and type. Command Prompt. Then click Run as administrator from the results for Command Prompt.

Step 2: Click Yes when the User Account Control (UAC) prompt appears on the screen.

Step 3: Type the following command in the Command Prompt window and press Enter to find the app you want to install.

winget search <Name>

with the name of the app you want to search for The part will need to be replaced. For this example, We are looking for the Brave browser.

Step 4: Find the app you want to install from the list of apps that appears and copy its Id.

Step 5: Type the following command in the Command Prompt window and press Enter to display more information about the app package you want to install. You are the author of the app; You can cross-check the home page and the download URL to verify the authenticity of the app and make sure you’re downloading the right app.

winget show <Id>

You will need the app ID and command you copied in the previous step. The part will need to be replaced. For this example, We’re looking for Brave Browser, which is the ID of Brave.Brave.

Step 6: Type the following command in the Command Prompt window and press Enter to download and install the app of your choice.

winget install <Id>

The app ID and command you copied in step 4 You will need to replace the part. For this example, Brave.Brave Id We will enter the id Brave.Brave.

After you follow all the steps above, winget (Windows Package Manager) will automatically install the app for you. If a User Account Control (UAC) prompt appears on your screen; Click Yes to complete the entries.

How to update apps using Windows Package Manager

In addition to providing a quick way to download and install apps, Windows Package Manager also provides a quick and easy way to find out-of-date apps installed on your PC and update them for you. The only prerequisite is that the apps you want to update should be available in Microsoft’s repository.

Here’s how to quickly find and update apps on your Windows 11 PC using Windows Package Manager.

Step 1: Press Windows + S keys and type. Command Prompt. Then click Run as administrator from the results for Command Prompt.

Step 2: Click Yes when the User Account Control (UAC) prompt appears on the screen.

Step 3: In the Command Prompt window, type the following command and press Enter; That way winget can detect all the outdated apps installed on your PC.

winget upgrade

Step 4: Find the app you want to update from the list of apps that appears and copy its Id.

Step 5: Type the following command in the Command Prompt window and press Enter to update the app of your choice.

winget upgrade <Id>

The Id of the app you copied in step 4 and the command You will need to replace the part. For this example, The ID of OBSProject.OBSStudio will update OBSProject.OBSStudio.

The above command allows you to update apps individually. Meanwhile, If you want to update all apps together, Type the following command and press Enter.

winget upgrade --all

How to remove apps using Windows Package Manager

Like installing apps using Windows Package Manager (winget). There is also a way to remove apps from your PC by running a few commands. Here’s how to quickly remove apps from your Windows 11 PC using the Windows Package Manager.

Step 1: Press Windows + S keys and type. Command Prompt. Then click Run as administrator from the results for Command Prompt.

Step 2: Click Yes when the User Account Control (UAC) prompt appears on the screen.

Step 3: By typing the following command in the Command Prompt window and pressing Enter, winget will find all the apps installed on your PC.

winget list

Step 4: If you don’t find the app you’re looking for, Try using the two commands below to sort your apps.

winget list --name <Name>

This command allows you to sort through apps based on their name. To run this command, you type the command with the name of the app you want to remove. The part will need to be replaced. For this example we want to remove Brave Browser.

winget list --tag <Tag>

This command allows you to sort through apps by their category. For this to work you need to type the command in the app. The part must be replaced. For this example, We want to remove Brave Browser where the default tag should be browser.

Step 5: After you find the app you want to copy its Id and uninstall it.

Step 7: Type the following command in the Command Prompt window. Then press Enter to uninstall the app of your choice.

winget uninstall <Id>

The Id of the app you copied in step 4 and the command You will need to replace the part. For this example, Brave.Brave I want to remove the browser whose id is Brave.Brave.

It makes managing apps easier.

Now that you know how Windows Package Manager works, use it to efficiently manage apps on your Windows 11 PC. Windows Package Manager also ensures that programs installed on your PC are free from any malicious code that could threaten your data or privacy.

Leave a Comment