If you’ve ever used Linux, you know how to use its command line interface to access online repositories and install applications on your computer. Similarly, Windows has a tool called Windows Package Manager that makes it easy for developers and experienced Terminal users to quickly install applications from the Microsoft Store and Microsoft repositories by entering a few commands. .
Using Windows Package Manager (winget) to install and manage applications on Windows can be a bit difficult for the average user due to its steep learning curve. But it doesn’t have to be. To make this process easier, we have put together this guide that shows how you can use the Windows Package Manager to quickly install, update or remove apps on Windows 11.
How to Install Windows Package Manager on Windows 11
Windows Package Manager is installed by default on all versions of Windows starting with Windows 10, version 1809. You can make sure it’s installed on your PC or quickly download it. by following the steps below.
Step 1: Press Windows + S key combination and type Command prompt. Then from the results for Command Prompt, click Run as administrator.
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.
winged
If you have Windows Package Manager installed on your system, you will see a list of other winget commands and you should get started. Otherwise, if it’s not already installed, 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 and install apps from the Microsoft Store and Microsoft’s repositories with thousands of free third-party apps. For this, you will need to run a few commands using Command Prompt or PowerShell to find the application you want to download and install.
Here’s how to do the same using the Windows Package Manager (winget) on your PC.
Step 1: Press Windows + S key combination and type Command prompt. Then from the results for Command Prompt, click Run as administrator.
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 application you want to install.
looking for wings
You will need to replace the part
Step 4: From the list of applications that appear, find the application you want to install and copy the Id of that application.
Step 5: Type the following command in the Command Prompt window and press Enter to display more information about the apk you want to install. You can cross-check your app’s author, homepage, and download URL to verify the authenticity of your app and make sure you’re downloading the correct app.
wing program
You will need to replace the part
Step 6: Type the following command in the Command Prompt window and press Enter to download and install the application of your choice.
install winget
You will need to replace the part
After you follow all the steps listed above, winget (Windows Package Manager) will automatically install the application for you. If a User Account Control (UAC) prompt appears on your screen, click Yes to complete the installation.
How to Update Apps Using Windows Package Manager
Besides providing you with a quick way to download and install applications, Windows Package Manager also provides a quick and easy way to find outdated applications installed on your PC and update them. them for you. The only prerequisite is that the applications you want to update must be available on the Microsoft repositories.
Here’s how you can quickly find and update apps on your Windows 11 PC using the Windows Package Manager.
Step 1: Press Windows + S key combination and type Command prompt. Then from the results for Command Prompt, click Run as administrator.
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 so that winget can search for all outdated applications installed on your PC.
wing upgrade
Step 4: From the list of applications that appear, find the application you want to update and copy the Id of that application.
Step 5: Type the following command in the Command Prompt window and press Enter to update the application of your choice.
wing upgrade
You will need to replace the part
The command mentioned above allows you to update apps individually. Meanwhile, if you want to update all apps together, type the command below and press Enter:
wing upgrade –all
How to Remove Apps Using the Windows Package Manager
Just like you would install apps using the Windows Package Manager (winget), there is also a way to uninstall apps from your PC by running a few commands. Here’s how you can quickly uninstall apps from your Windows 11 PC using the Windows Package Manager.
Step 1: Press Windows + S key combination and type Command prompt. Then from the results for Command Prompt, click Run as administrator.
Step 2: Click Yes when the User Account Control (UAC) prompt appears on the screen.
Step 3: Type the following command into the Command Prompt window and press Enter so that winget can search for all installed applications on your PC.
wing list
Step 4: If you can’t see the app you’re looking for, try using any of the two commands listed below to organize your apps.
wing list –name
This command allows you to sort applications based on their name. For this command to work, you need to replace the
wing list –tag
This command allows you to sort apps based on their categories. For it to work, you have to replace the
Step 5: Once you find the app you want to uninstall, copy the Id of that app.
Step 7: Type the following command into the Command Prompt window. Then press Enter to uninstall the app of your choice.
uninstall winget
You will need to replace the part
Manage apps more easily
Now that you know how Windows Package Manager works, use it to manage apps on your Windows 11 PC efficiently. Windows Package Manager also ensures that you install genuine programs on your PC without any malicious code that could threaten your data or privacy.
Categories: How to
Source: thpttranhungdao.edu.vn/en/