← Knowledge Base
WindowsReference note1 min read · updated 2026-11-27

Install and update software with winget

Search, install, upgrade and export applications from the command line.

wingetpackageswindows
winget search vscode
winget install --id Microsoft.VisualStudioCode -e
winget list                       # installed apps
winget upgrade                    # what has updates
winget upgrade --all
winget uninstall --id Notepad++.Notepad++
winget export -o apps.json        # list your apps
winget import -i apps.json        # reinstall them on a new PC

Use -e (exact) with an --id. winget export / import is a quick way to set up a new machine. Review what you install: packages come from community manifests, although installers are checksum-verified.