winget: Microsoft's official Windows package manager

winget (Windows Package Manager) is the native package manager for Windows 10/11 developed by Microsoft. It comes pre-installed on Windows 11 and updated Windows 10. It lets you install, update and uninstall applications from CMD or PowerShell.

Basic winget commands

ActionCommand
Search for an appwinget search "visual studio code"
Install an appwinget install Microsoft.VisualStudioCode
Install by exact IDwinget install --id Git.Git -e
Silent installwinget install Git.Git --silent
Update an appwinget upgrade Git.Git
Update everythingwinget upgrade --all
Uninstallwinget uninstall Git.Git
List installedwinget list
Install dev stack with winget
winget install --silent Git.Git Microsoft.VisualStudioCode OpenJS.NodeJS.LTS Python.Python.3 Docker.DockerDesktop Postman.Postman
Export and import app list
winget export -o my-apps.json
winget import -i my-apps.json --ignore-unavailable