childebrandt42

Worthless info……………Oh blinky lights!

Mastering WinGet Commands: The Ultimate Guide for Windows 11 Power Users

Looking for a faster, smarter way to manage apps on Windows? Meet Windows Package Manager (WinGet)—your command-line powerhouse for installing, updating, and organizing software on Windows 10 and 11. Whether you’re a seasoned system admin or a curious tech enthusiast, mastering WinGet will transform tedious tasks into quick, efficient commands. Say goodbye to manual installs and hello to streamlined control!

In this guide, we’ll explore all essential WinGet commands, complete with examples, tips, and best practices.


What is WinGet?

WinGet is Microsoft’s official package manager for Windows. It allows you to:

  • Install applications from trusted sources.
  • Upgrade apps to the latest version.
  • Search for packages.
  • Export and import app lists for automation.

Getting Started

Before using WinGet, make sure you have the following:

  • Windows 10 (1809+) (Just wanted to add it as its dead) or Windows 11
  • App Installer installed from the Microsoft Store.

Check your WinGet version:

wing

Core WinGet Commands

1. Search for Apps

Find apps in the repository:

PowerShell

winget search powers

Example Output:

Name              Id                     Version
-------------------------------------------------
PowerShell        Microsoft.PowerShell   7.4.1


2. Install an App

Install PowerShell 7:

wing

Pro Tip: Add --silent for unattended installs:

winget install Microsoft.PowerShell --silent

3. Show Installed Apps

List all installed apps managed by WinGet:

winget list

4. Check for Updates

See which apps have updates available:

winget upgrade

Include apps with unknown versions:

winget upgrade --include-unknown

5. Upgrade All Apps

Update everything in one go:

winget upgrade --

Add automation flags:

winget upgrade --all --silent --accept-source-agreements --accept-package-agreements

6. Uninstall an App

Remove an app:

winget uninstall Microsoft.PowerShell

7. Export Installed Apps

Create a list of installed apps:

winget export apps.json
"

8. Import Apps

Install apps from a list:

winget import apps.json
"

9. Show App Details

Get detailed info about a package:

winget show Microsoft.PowerShell

10. Validate Sources

Check your sources:

winget source list
"

Advanced Tips

  • Combine commands with PowerShell scripting for automation.
  • Use --scope machine for system-wide installs.
  • Schedule updates with Task Scheduler for zero-touch maintenance.

Final Thoughts

WinGet isn’t just another tool—it’s a game-changer for Windows app management. By mastering its commands, you can automate installations, streamline updates, and eliminate repetitive manual tasks. Imagine deploying dozens of apps across multiple systems with just a few lines of code—no more clicking through installers or hunting for the latest versions.

And here’s where it gets even better: you can create custom WinGet repositories hosted on-premises or in Azure. This gives you complete control over which apps are available, ensures compliance with internal policies, and makes deployments even more efficient.

Whether you’re managing a fleet of enterprise machines or simply keeping your personal setup tidy, WinGet puts you in control. It’s fast, efficient, and built for power users who value simplicity.

Ready to dive deeper? Start building your custom repo and explore all the possibilities WinGet offers by checking out the official Microsoft documentation:
https://learn.microsoft.com/windows/package-manager/

childebrandt42 Avatar

About the author

Hi! My name is Chris Hildebrandt, I’m a EUC consultant by day, and automation junkie at night. I have worked my way from being small customer to enterprise side customer, with a recent transition into consulting. I enjoy everything EUC focused and more so on how to automate it. I like to find ways to make mine and your jobs easier with automation.