Loading...
Windows Package Manager (WinGet) is a free and open-source package manager for Windows developed by Microsoft. It simplifies the installation, updating, and management of software applications on Windows systems directly from the command line.
WinGet comes pre-installed on Windows 11. For Windows 10, you can:
| Command | Description |
|---|---|
winget search <query> | Search for a package in the repository |
winget install <package-id> | Install a package |
winget install --import-file <file.json> | Install multiple packages from an import file |
winget upgrade <package-id> | Upgrade a specific package to the latest version |
winget upgrade --all | Upgrade all installed packages |
winget uninstall <package-id> | Uninstall a package |
winget list | List all installed packages |
winget export -o <file.json> | Export installed packages to a JSON file |
winget show <package-id> | Display detailed information about a package |
| Option | Description |
|---|---|
-e, --exact | Match the exact package name |
-s, --silent | Run the installer silently without user interaction |
--accept-package-agreements | Accept the package license agreements automatically |
--accept-source-agreements | Accept source agreements automatically |
-f, --force | Force the operation even if it would normally be skipped |
--override | Pass custom arguments directly to the installer |
-l, --location | Specify the installation directory |
--scope machine | Install for all users on the machine |
--scope user | Install for the current user only |
winget install --id=Microsoft.PowerToys -e – Install Microsoft PowerToyswinget install --id=Mozilla.Firefox -e --silent – Install Firefox silentlywinget upgrade --all --include-unknown – Update all packages including unknown versionswinget export -o apps.json – Backup your installed applicationswinget import -i apps.json --accept-source-agreements --accept-package-agreements – Restore from backup