winget: A Native CLI Package Manager for Windows
Being a Linux-lord, I’m probably late to the party, but WinGet is the commandline utility for Windows (introduced in Windows 10) to install and manage packages, similar to a Linux or Unix environment. This makes Windows vastly more useable for developers. Here are some of the main commands that might be useful when working with winget. I used this tool today to upgrade my version of Windows PowerToys.
1# search for software
2winget search "some search text"
3
4# list installed packages
5winget list
6
7# install a package
8winget install [package]
9
10# export a list of all installed packages
11winget export -o file.json
12
13# import a list of packages from a file
14winget import -i file.json