How to Install Package Manager in Windows 11?
Last Updated :
17 Oct, 2024
Installing a package manager on Windows 11 is a convenient way to streamline your software management. One of the most popular tools for this purpose is Winget, the built-in Windows 11 package manager. With Winget, you can easily download, install, and update software via the command line, making it an efficient solution for managing apps. In this guide, we'll show you how to install package manager in Windows 11 and start using Winget for all your software installation needs.
What is a Package Manager?
A package manager is used to install, download, or even update new and currently installed programs in any operating system. Package managers are widely used in different operating systems, but they are rarely used in the Windows operating system.
There are common package managers used in Linux distributions, but when it comes to Windows, there is only one package manager that is officially used for managing programs, and it is called Winget. So, let's understand how we can install the package manager in Windows 11.
Methods to Install Package Manager in Windows 11
There are mainly two ways to install package manager on Windows 11, one using Microsoft Store, and another one using PowerShell. Each method is shown below. You can install a package manager with any of these 2 methods.
Method 1: Download Package Manager in Windows Using the Microsoft Store
To Install package manager in Windows 11, we will have to use the Microsoft store, so for this method, we will have to follow the below steps:
Step 1: Open Microsoft Store
Go to Start menu > Search Microsoft Store > Open it.
Open Microsoft Store.Step 2: Install/Update the App Installer
Install App Installer > Update it.
App Installer.That's it, now the package manager is installed in Windows 11, and we can access it easily.
Method 2: Windows 11 Winget install
If you do not want to use the above method to install the package manager in Windows for some reason then you can use this method to install the package manager as well, in this method we will install the package manager using PowerShell, for this we will have to follow the below steps:
Step 1: Open Powershell
Go to Start menu > Search Powershell > Run it.
Open Powershell.Step 2: Download Winget using PowerShell
Next, you will have to download the widget using PowerShell for this you can directly paste the following command and it will install the widget using PowerShell:
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.3.2691/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile .\MicrosoftDesktopAppInstaller_8wekyb3d8bbwe.msixbundle
This will give you no output which means that the widget is successfully installed, as you can see below:
Powershell Output.That is it, you have now finally installed the package manager in Windows 11, Install and use Winget on Windows 11.
Step 3: Check whether Package Manager for Windows 11 is Installed or Not.
To check whether the Package manager for Windows 11 is installed or not, we can run the following command in the PowerShell after installing the package manager in Windows:
Command: winget
If this gives you the following output then it means the package manager is properly installed in Windows:
Winget.Using Winget as a package manager in Windows 11
Now that we have installed the package manager let's also take a look at how we can view the list of programs that are currently installed in our system using this package manager, for this we will have to use the following command:
Command: winget list
This will ask you if you agree with the terms, so simply type "Y" to confirm that you agree and then it will show you the list of programs that are installed:
Winget listConclusion
Setting up the package manager on Windows 11 with Winget simplifies the process of managing software installations. Whether you're looking to install, update, or remove programs, Winget offers a fast and user-friendly solution. By learning how to use package manager on Windows, you can automate and manage app installations with ease, ensuring that your system is always up to date.
Similar Reads
How to Install Chocolatey Package Manager on Windows?
Chocolatey is a package manager for Windows that gives you a command-line approach to install, update, and remove software. It makes managing software on a Windows PC easy and saves you time and effort. In this article, we will show you how to install the Chocolatey package manager on Windows 11. Pr
3 min read
How to Install a New Package Manager in Linux
Linux offers several package managers for software installation, updates, and maintenance. In Linux, every distribution comes with a package manager by default. The Debian distribution comes with APT(Advanced Package Tool), Red Hat, and its derivatives such as CentOS and Fedora use YUM package manag
4 min read
How to install PHP in Windows 10?
PHP is a general-purpose scripting language geared towards web development. It is an open-source software (OSS), which is free to download and use. PHP stands for "Hypertext Preprocessor". PHP files are saved with an extension called .php. It supports many databases MySQL, Oracle, etc.Installation o
2 min read
How to install PyCharm in Windows?
PyCharm is the Python development IDE developed by JetBrains. They have developed professional and free community versions of this tool. The first professional version of the tool is paid and available as a trial for 30 days. However, in this article, we will look into the process of downloading the
2 min read
How to Install OpenJDK (Free Java) in Windows
We all know that Java is one of the most popular programming languages and comes under the top 10 most used programming languages. Now, if you are starting your Java learning, then you need to install the Java Development Kit (JDK) on your machine. OpenJDK is a free and open-source version of the Ja
5 min read
How to install RubyGems in Windows?
RubyGems is a Ruby package manager that provides Ruby programs and libraries (also known as Gems) and the tools associated with installing and managing Ruby packages and servers. The Ruby package management, RubyGems, makes it simple to install, manage, and utilize tools and libraries for Ruby appli
3 min read
How to Install Pygame on Windows ?
In this article, we will learn how to Install PyGame module of Python on Windows. PyGame is a library of python language. It is used to develop 2-D games and is a platform where you can set python modules to develop a game. It is a user-friendly platform that helps to build games quickly and easily.
2 min read
How to Install Sublime Text 3 in Windows?
Written by a Google engineer sublime text is a cross-platform IDE developed in C++ and Python. It has basic built-in support for Python. Sublime text is fast and you can customize this editor as per your need to create a full-fledged Python development environment. You can install packages such as d
2 min read
How to Install Perl on Windows?
Prerequisite: Introduction to Perl Before, we start with the process of Downloading and Installing Perl on Windows operating system, we must have first-hand knowledge of What the Perl Language is and what it actually does?. Perl is a general-purpose, high level interpreted and dynamic programming la
3 min read
How to Install PyGObject in Windows?
PyGObject is an extension module of Python. It provides good and consistent access to the entire GNOME software platform with the help of GObject Introspection. It fully supports GObject Introspection and its features like callbacks, sub-classing, GVariant support, closures, etc. It is available for
2 min read