Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WinGet is Windows’ command-line package manager. It lets you search Microsoft’s app repositories, identify a package, install it, choose a version, and automate setup from Command Prompt or PowerShell.

It is included with the App Installer package. You do not install a separate “WinGet” Microsoft Store app. On supported Windows editions, App Installer is delivered and updated through Microsoft Store.

This guide covers the commands that work on both Windows 11 and supported Windows 10 installations, along with the most common problems you may encounter.

Check whether WinGet is available

WinGet supports Windows 10 version 1809 (build 17763) or later, Windows 11, and Windows Server 2025. It is not supported on Windows Server 2019 because that edition does not provide Microsoft Store and the required dependencies.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Raryine Excel/Word/Power Point/Windows Mouse pad,Non-Slip&Waterproof Large Gaming Office pc Desk mat,Over 200 Keyboard Shortcuts Mousepad(27.6L x 11.8W inches)
  • EXCEL CHEAT SHEET DESK PAD:This Excel shortcuts mouse pad is a reliable desk companion, showcasing key shortcuts for Excel, Word, PowerPoint, and Windows. It includes practical information and shortcut keys to help you work more efficiently on your daily tasks.
  • LARGE AND PRACTICAL SIZE: Measuring 27.6 x 11.8 inches (700x300x2mm), this Excel mouse pad serves as both a mouse pad and desk mat, offering generous space for your computer, keyboard, and mouse. Ideal for use in the office or at home.
  • CLEARLY ORGANIZED AND EASY TO USE:Excel, Word, PowerPoint, and Windows shortcut keys are grouped and organized for easy reference, making this desk pad a helpful tool for both beginners and experienced users.
  • SMOOTH AND ACCURATE CONTROL:The smooth fabric top ensures accurate mouse movements, while the non-slip base keeps the pad securely in place, delivering a stable and comfortable user experience.
  • LONG-LASTING AND HIGH-QUALITY DESIGN:This mouse pad features premium fade-resistant printing, ensuring that shortcut details remain clear and detailed over time. The reinforced stitched edges add durability for extended use.
  1. Open Command Prompt or Windows PowerShell.
  2. Type the following command and press Enter:
winget

If WinGet is installed, Windows displays its help summary. For the complete list of commands and options, run:

winget --help

After a fresh Windows installation or the first sign-in, WinGet may not work immediately. Microsoft Store registers Windows Package Manager asynchronously. You can request that registration manually from PowerShell:

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Close and reopen the terminal, then test winget again.

Install or repair WinGet through Microsoft Store

If the command is not recognized, install or update App Installer:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Start.
  2. Type store and press Enter.
  3. In the Microsoft Store search bar, type winget and press Enter.
  4. Select App Installer in the results.
  5. Select Get, or select the available update option.
  6. Open Command Prompt or PowerShell and run winget to verify it.

If App Installer does not appear, use the App Installer download link provided in Microsoft’s WinGet documentation.

Manual App Installer update

Microsoft also documents a fallback using the WinGet GitHub releases page:

  1. Open the WinGet project’s GitHub page.
  2. Under Releases, open the latest release.
  3. In Assets, download the .msixbundle file.
  4. Run the downloaded file.
  5. Select Update.
  6. Open a new terminal and run winget.

Windows Sandbox is a special case: it does not include Microsoft Store or WinGet. Microsoft documents bootstrapping it with the Microsoft.WinGet.Client PowerShell module and the Repair-WinGetPackageManager command.

Search for an app

The basic search syntax is:

winget search <query>

For example, to search for Visual Studio Code:

winget search vscode

search also has the alias find:

winget find vscode

By default, the query is a case-insensitive substring match against the package name, ID, and moniker. Wildcards are not supported. A broad query may therefore return several packages.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Search results normally show information such as:

  • Package name
  • Package ID
  • Available version
  • Source
  • Other identifying details

The package ID is generally the safest value to use in a later install command.

Rank #2
Sale
Pixiecube Excel Cheat Sheet Desk Pad | Excel Shortcut Keys Mouse Pad | Extended Large XL Gaming Mousepad | PC Office Spreadsheet Keyboard Mat | Non-Slip Stitched Edge
  • EXCEL SHORTCUTS. ZERO SEARCHING. – Our bestselling reference mat puts an extensive collection of commonly used commands, formulas and helpful tricks directly beneath your fingertips so you can find answers fast, work smarter and stay in the flow.
  • YOUR DESK. SMARTER. – Clearly organized sections for navigation, selection, formatting, data and functions make it easy to find the right Excel command exactly when you need it.
  • LEARN, WORK & RESET – Built-in desk-exercise diagrams give you 10 quick ways to stretch, recharge and return to work feeling sharper.
  • ROOM TO WORK & CREATE – The extended 31.5 x 11.8-inch Pixiecube desk mat fits a laptop or keyboard and mouse, while the soft 2 mm surface adds comfort and protects your desktop.
  • BUILT FOR REAL-WORLD WORKDAYS – A rugged stitched edge helps prevent fraying, and the water-resistant, stain-resistant surface protects against scratches, spills and everyday wear—because smarter desks should work harder.

Use a more precise search

You can restrict the search to a specific field:

Command Searches
winget search --id <query> Package ID
winget search --name <query> Package name
winget search --moniker <query> Package moniker
winget search --tag <query> Package tag
winget search --command <query> Command associated with the package

--cmd is an alias for --command. To require an exact, case-sensitive match, add --exact or its short form, -e:

winget search vscode --exact

You can also limit results to a repository. For example:

winget search "Visual Studio Code" --source msstore

To limit the number of results, use --count. The valid range is 1 through 1000:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
winget search browser --count 10

List every available package

Older guides sometimes say that running winget search with no query lists every package. That behavior changed. Use an explicit empty query instead:

winget search --query ""

In Windows PowerShell, use Microsoft’s escaped form if needed:

winget search -q `"`"

Inspect a package before installing it

Once you have a likely match, inspect its metadata with winget show:

winget show <query>

This displays package details and information about the installer WinGet selects. To see versions available for a package while searching, use:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
winget search powertoys --versions

A practical workflow is to search broadly, copy the ID from the results, and then inspect that ID:

winget search vscode
winget show Microsoft.VisualStudioCode

Install an app with WinGet

The simplest form is:

winget install <query>

For example:

winget install vscode

Because an unqualified query can match a name, ID, or moniker, it may produce multiple results. For repeatable installs, use the package ID and require an exact match:

Rank #3
Sale
Raryine Excel/Word/Power Point/Windows Mouse pad,Non-Slip&Waterproof Large Gaming Office pc Desk mat(XXL 35.4x15.8 in),Over 200 Keyboard Shortcuts Mousepad
  • EXCEL CHEAT SHEET DESK PAD:This Excel shortcuts mouse pad is a reliable desk companion, showcasing key shortcuts for Excel, Word, PowerPoint, and Windows. It includes practical information and shortcut keys to help you work more efficiently on your daily tasks.
  • LARGE AND PRACTICAL SIZE: Measuring 35.4x15.8 inches (900x400x3mm), this Excel mouse pad serves as both a mouse pad and desk mat, offering generous space for your computer, keyboard, and mouse. Ideal for use in the office or at home.
  • CLEARLY ORGANIZED AND EASY TO USE:Excel, Word, PowerPoint, and Windows shortcut keys are grouped and organized for easy reference, making this desk pad a helpful tool for both beginners and experienced users.
  • SMOOTH AND ACCURATE CONTROL:The smooth fabric top ensures accurate mouse movements, while the non-slip base keeps the pad securely in place, delivering a stable and comfortable user experience.
  • LONG-LASTING AND HIGH-QUALITY DESIGN:This mouse pad features premium fade-resistant printing, ensuring that shortcut details remain clear and detailed over time. The reinforced stitched edges add durability for extended use.
winget install --id Git.Git --exact

If two configured sources contain duplicate entries, specify the source as well:

winget install --id Git.Git --exact --source winget

Microsoft Store package IDs are unique identifiers. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
winget install XP9KHM4BK9FZ7Q --source msstore

Install a specific version

Without a version switch, WinGet installs the highest available version. To request a particular version, use:

winget install <query> --version <version>

Examples:

winget install powertoys --version 0.91.1
winget install --id Microsoft.PowerToys --version 0.91.1

The requested version must be available in the selected source.

Install several apps in sequence

List multiple package IDs separated by spaces:

winget install Microsoft.VisualStudioCode Microsoft.PowerShell Git.Git

WinGet installs the packages sequentially rather than simultaneously. For reliable results, use exact IDs where possible.

Run a silent or scripted installation

For an installer that supports unattended operation, add --silent or -h:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
winget install --id Git.Git --exact --silent

Automated scripts may also need both agreement switches:

winget install --id Git.Git --exact --silent --accept-source-agreements --accept-package-agreements

These options serve different purposes:

Option Purpose
--silent Suppresses installer user interface where supported.
--accept-source-agreements Accepts the terms for the WinGet source or repository.
--accept-package-agreements Accepts the application’s package license or EULA.

Accepting the package agreement does not accept optional components or bundled software offered inside the installer. Also, these switches do not guarantee that an installer-specific prompt will disappear unless the installer supports silent operation.

Choose user or machine scope

Use --scope when you need to request where the application is installed:

Rank #4
BOLERHUI Mac OS Shortcuts Cheat Sheet Mouse Pad, XL 31.5"x11.8"x0.12"
  • Mac Cheat Sheet: Designed for macbook/imac users, this mousepad provides the most useful and comprehensive mac OS shortcuts, it's easy to read, and when you need a shortcut, it's right at your fingertips, which can greatly improve your productivity
  • Universal Compatibility: Smooth surface with comfortable texture, compatible with most gaming/office mice. The precision-textured surface ensures reliable tracking for high-DPI optical sensors, enabling accurate mouse control during work or gameplay
  • Non-slip Base: The non-slip design rubberized base provides a strong grip and stays firmly in place on any hard desktop. Simply immerse yourself in your work or game without worrying about annoying mouse mat movement
  • Durable & Colorfast: Made with durable stitched edges, it is anti-abrasion, non-deformation and anti-peeling. When liquid is spilled on the mouse pad, simply wipe it with a damp cloth. It can be washed with water, does not fade and is durable
  • XL Large Size: This mouse pad measures 31.5x11.8x0.12 inch. It easily accommodates your laptop, keyboard, mouse, and other desk items, with plenty of room for your mouse movement
winget install <query> --scope user
winget install <query> --scope machine

Scope behavior depends on the installer technology:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • MSIX packages generally handle scope reliably.
  • MSI packages are usually reliable, but behavior can vary when an MSI is nested inside an EXE installer.
  • EXE installers may ignore the requested scope or determine it using their own logic.

A user-scope installation can still trigger a UAC request if the installer requires administrator authorization.

Do you need an administrator terminal?

Not always. WinGet can install applications from a normal Command Prompt or PowerShell session, but individual installers may require elevation. Windows then displays an elevation prompt. If you decline it, the installation fails.

To avoid elevation prompts for installers that require administrator rights, open an elevated shell:

  1. Open Start.
  2. Type Command Prompt or PowerShell.
  3. Right-click the result and select Run as administrator.
  4. Run the WinGet command again.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common WinGet errors

“winget is not recognized”

Check these causes in order:

  1. Confirm that the Windows version is supported.
  2. Install or update App Installer through Microsoft Store.
  3. If you just signed in for the first time, run the registration command shown earlier.
  4. Close and reopen the terminal.
  5. Check that the App Installer location is available through the system’s PATH.

WinGet finds more than one app

A broad substring query can match multiple names, IDs, or monikers. Search again, copy the intended ID, and install with:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
winget install --id Publisher.Package --exact

Add --source if the same package exists in more than one configured source.

The command pauses for agreements

The first operation involving a source may ask you to accept source terms. Package licenses are separate. For automation, include both agreement switches:

winget install --id Publisher.Package --exact --silent --accept-source-agreements --accept-package-agreements

A download returns 403 Forbidden

A vendor’s download server may block WinGet’s user-agent string even when the same installer downloads successfully in a browser. This is usually a restriction on the vendor’s server, not proof that your internet connection is broken. Try the vendor’s official download page or another available package source.

WinGet fails under the SYSTEM account

WinGet’s packaged components must be registered for a user, so the CLI is not supported in the NT AUTHORITYSYSTEM context. Machine-management tools running as SYSTEM should use the Microsoft.WinGet.Client PowerShell module instead of directly invoking the WinGet CLI.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Kinevolve Mouse Pad for Excel/Word/PowerPoint/Windows Shortcuts – Small Excel Cheat Sheet Desk Pad – 11.8"x9.8" Portable Computer Mousepad – Gaming, Office, Waterproof, Non-Slip, Stitched Edges
  • Compact & Portable Design: This Small Excel, Word, PowerPoint, & Windows Cheat Sheet Mouse Pad measures 11.8" x 9.8", offering a portable mouse pad. Its compact size fits in bags or laptop cases, suitable for professionals, students, or travelers.
  • Multi-Software Shortcut Guide: Featuring essential shortcut keys for Excel, Word, PowerPoint, & Windows, this small mouse pad provides a quick reference for frequently used shortcuts, offering a reference designed to support workflow efficiency
  • Smooth & Precise Surface: The finely-textured surface ensures precise mouse control, allowing for smooth and accurate movement during work or gaming sessions.
  • Durable & Non-Slip Design: This Multi-Software Shortcut Mouse Pad features stitched edges to reduce fraying. The non-slip rubber base helps keep it securely in place, and the water-resistant fabric allows for easier maintenance.
  • Clear Print Quality: Displays high-resolution printing intended to remain legible through regular use and cleaning

Find logs and decode error codes

Default WinGet logs are stored here:

%LOCALAPPDATA%PackagesMicrosoft.DesktopAppInstaller_8wekyb3d8bbweLocalStateDiagOutputDir*.log

To create more comprehensive logs for source and CDN communication, add --verbose-logs:

winget install <query> --verbose-logs
winget search <query> --verbose-logs

You can also ask WinGet to open its log directory after an operation:

winget install <query> --open-logs

To decode a known WinGet, MSIX, or MSI error code, run:

winget error 1603

Some EXE installers return vendor-specific codes that WinGet cannot interpret. In those cases, the installer’s own documentation and the verbose log are usually more useful.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

FAQ

Is WinGet already installed in Windows 11?

Usually, yes. WinGet is included in the Microsoft App Installer package, which Windows desktop editions receive and update through Microsoft Store. Run winget in Command Prompt or PowerShell to check.

Does Windows 10 support WinGet?

Yes, if it is Windows 10 version 1809, build 17763, or later. Earlier Windows 10 versions are not supported.

What is the safest WinGet install command?

Search for the application first, then use its exact package ID: winget install --id Publisher.Package --exact. Add --source if more than one configured source contains the package.

Can WinGet install apps without administrator rights?

Sometimes. Applications that support user installation can work from a normal terminal, but some installers require elevation. In that case Windows displays a UAC prompt, or you can run an Administrator Command Prompt.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I install an older version with WinGet?

First check available versions with winget search <query> --versions, then specify one with winget install <query> --version <version>.

Why does WinGet say the app cannot be found?

The package may use a different name or ID, be unavailable in your configured source, or be blocked by a source problem. Search using a shorter term, inspect the source with winget search, and check verbose logs if necessary.

The Bottom Line

Use WinGet in three stages: search, confirm the package ID, then install the exact ID. For example:

winget search vscode
winget show Microsoft.VisualStudioCode
winget install --id Microsoft.VisualStudioCode --exact

Use --version for a pinned release, --silent and both agreement switches for automation, and --verbose-logs when an installation fails.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.