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
| Action | Command |
|---|---|
| Search for an app | winget search "visual studio code" |
| Install an app | winget install Microsoft.VisualStudioCode |
| Install by exact ID | winget install --id Git.Git -e |
| Silent install | winget install Git.Git --silent |
| Update an app | winget upgrade Git.Git |
| Update everything | winget upgrade --all |
| Uninstall | winget uninstall Git.Git |
| List installed | winget 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