Its a headache to update each softwares on Windows. Its tough to update something manually. We do not use Microsoft Store, Microsoft. Please Leave us alone. With said that, Microsoft store do have a very important application there though and we can use that to update any and everything, well most of it. Winget
Winget
Winget is an Open Source Windows Package Manager designed to run from Command Line Interface (Terminal). From one simple command you can Install your favorite package, uninstall non-necessary ones and Update, those needed to be updated. Also it lists all the package you have installed in your system, and export it. You can format your pc and install all those packages by importing them, or give it to your non tech savvy friends so they can install those cool softwares.
Let’s Dive into it
To install Winget:
Go To Winget.
It will open Microsoft Store. Click on Get. Once Installed maybe, restart your pc.
Head straight to terminal and execute following command:
-
Winget Help
winget --help
-
See winget version
winget --version
-
Find Winget Packages
winget find vscode
This will look for vscode in the Packages. ‘Id’ is very useful here, you may want to copy it.(just select and right click)
Lets install VScode.
winget install Microsoft.VisualStudioCode` (right click for paste)
So installation is done.
Lets see the list,
winget export -o C:\Path\to\exported.json
Similary to import
winget import -i C:\Path\to\exported.json
Upgrade
To upgrade all available packages:
winget upgrade --all
Follow the Prompts and…. Done!
Wrap Up
- Install winget
- Install, Update and Uninstall from CLI
- Upgrade Everything available with one line