Table of Contents
WinGet installs and updates Windows apps from the command line. Open a normal Windows Terminal or Command Prompt and run winget --version. If the command is missing on a supported Windows system, install or update Microsoft’s App Installer. See how to fix a missing WinGet command.
Find and install the exact package
Search for the app first. Use the package ID from the results to check the publisher and installer details, then install the exact match:
winget search Firefox
winget show --id Mozilla.Firefox --exact --source winget
winget install --id Mozilla.Firefox --exact --source wingetRun each line separately. A package can still prompt for administrator permission if its installer needs it. Confirm the package and publisher before agreeing. Microsoft’s WinGet documentation lists supported commands and sources.
Review updates before installing them
winget upgrade
winget upgrade --id Mozilla.Firefox --exact
winget listThe first command previews available upgrades. The second upgrades one app if a matching update is available. The third lists detected apps. Use winget upgrade --all if you have reviewed the list and are ready to install all eligible upgrades.

Reuse a list when setting up another PC
WinGet can export the packages it recognizes to a JSON file and import that list on another PC. Review the list before importing. This reinstalls matching packages without moving your documents, app data or settings.
winget export --output apps.json
winget import --import-file apps.jsonIf you prefer to pick apps visually, Winstall can generate a list of WinGet commands. Read the commands first and check unexpected security warnings before running a downloaded script.

Reader Comments 0
Sign in with email or Google to join the discussion.