Manually install winget on windows 10
Introduction
If you are curious like me and eager to get to use the new window package manager, you certainly needed to use winget command line tool
The winget client is the main utility to manage packages on a windows 10 / 11 machines.
It is mainly installed as part of the windows app installer which can be directly installed from the windows app store check the following article for details https://devblogs.microsoft.com/commandline/windows-package-manager-1-0/ .
However, in case you are running a device where installing apps from the windows app store is disabled for certain reasons and you still wish to use the winget command line tool, here are the steps that should be followed for you in order to get the winget command line tool installed.
at this time winget is supported with windows 10 versions (1809) or later
1. Download the windows app installer
Download the latest release of windows app installer msixbundle available at the following github repo https://github.com/microsoft/winget-cli/releases
2. Download the latest c++ runtime desktop bridge (optional but recommended)
Download the latest c++ runtime desktop bridge package from the following location https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge
make sure to select the package the corresponds to your device architecture
3. Open powershell 7 and run the following
4. verify successful installation
Once you have successfully ran the above mentioned commands you can run the winget command from powershell or cmd to check if it was successfully installed
Conclusion
in this post we saw how to install and use the winget client to install windows applications. By using the windows package manager approach you will be able to manage installations much faster and easier!
Hope you enjoy it :)
Comments