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

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

WinGet is Windows 11’s command-line client for discovering, inspecting, installing, upgrading, removing and configuring applications. It is delivered through Microsoft’s App Installer on supported Windows desktop editions. The commands below cover the complete everyday workflow: find a package, verify its identity, install it from a chosen source, keep it current, remove it, and reproduce the same application set on another PC.

For the safest routine, search by package ID, review metadata before installation, specify the winget source when appropriate, and preview bulk upgrades instead of blindly changing every application at once.

WinGet command quick reference

# Command Primary use Scope
1 winget --help Show commands and options supported by your installed client Reference
2 winget search <query> Find packages Discovery
3 winget show <query> Inspect package metadata Inspection
4 winget install <id> -e --source winget Install one exact package One app
5 winget list List installed applications Inventory
6 winget list --upgrade-available Find applications with updates Inventory
7 winget upgrade <id> -e Upgrade one exact package One app
8 winget upgrade --all Attempt all available upgrades All eligible apps
9 winget uninstall <id> -e Remove one exact package One app
10 winget source list Display configured repositories Sources
11 winget source update Refresh repository data Sources
12 winget source reset Restore documented default sources Sources
13 winget export -o packages.json Save an installed-package list Reproduction
14 winget import -i packages.json Install packages from an export Reproduction
15 winget pin list Inspect upgrade-constrained packages Upgrade control
16 winget settings Open the client’s JSON settings editor Configuration
17 winget download <id> -e Download an installer without the normal install flow Offline/staged install

Get ready and check your client

Open Windows Terminal, PowerShell or Command Prompt and run:

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

This displays the commands and options available in the WinGet client installed on that computer. It is the quickest way to detect differences between client versions and to confirm that the command-line tool is available. WinGet is supplied through App Installer, so a missing command generally means App Installer is unavailable or not current on that Windows installation.

#1 Best Overall
Sale
LAPGEAR Home Office Pro Lap Desk - Black Carbon, Fits 15.6” Laptops | Built-In Mouse Pad & Phone Slot, Wide Cushioned Wrist Rest, Dual-Bolster Microbead Cushion, Carry Handle
  • Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

Use a normal prompt for routine work. An elevated (Run as administrator) prompt changes how elevation requests appear during installation; elevation does not make an untrusted installer safe. Install software only from sources and publishers you trust.

Find and verify packages before installing

2. Search the catalogs

winget search <query>

search performs a case-insensitive substring search by default. A broad term can therefore return several similarly named packages. Narrow the results with the available selectors:

  • --id searches package identifiers.
  • --name searches package names.
  • --source limits results to a repository.
  • -e or --exact requires an exact match.

Once you identify the intended package, copy its ID rather than relying on a display name. IDs are the dependable input for later install, upgrade and uninstall commands.

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

3. Inspect metadata

winget show <query>

show displays the package metadata available to the client. Use it to confirm the name, identifier, version, publisher and source before allowing an installer to run. This extra check is especially valuable when a search returns multiple packages with close names.

Rank #2
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Install applications and audit what is already present

4. Install by exact ID and source

winget install <id> -e --source winget

This form combines three useful safeguards: the package ID selects the intended listing, -e prevents a fuzzy match, and --source winget makes the repository explicit. Replace <id> with the identifier confirmed by search or show.

Specifying a source reduces ambiguity when more than one configured repository contains a similarly named package. Keep the source list under review and use only repositories you trust.

5. List installed applications

winget list

list inventories applications detected on the computer, including software installed by methods other than WinGet. That makes it useful for a complete audit rather than merely a record of packages previously installed from the command line. Use the resulting names and IDs to decide what should be upgraded, removed or captured in an export.

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

Update applications with control over scope

6. See what can be upgraded

winget list --upgrade-available

This filters the installed-app inventory to packages for which WinGet can see an available update. Review this list before making changes; it shows the potential scope of a maintenance run without starting every upgrade.

Rank #3
Sale
Yilador Webcam Cover 3 Pack, 0.03 inch Ultra Thin Laptop Camera Cover Slide | Camera Blocker Slider for iPhone iPad MacBook Pro Computer iMac Cell Phone PC Laptop Accessories, Great for Privacy, Black
  • Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
  • 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
  • ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
  • ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
  • ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.

7. Upgrade one package

winget upgrade <id> -e

Use an exact ID when you want a single, deliberate change. This is the right choice for testing a new release, repairing one outdated application or avoiding unrelated updates on a production machine.

8. Upgrade all eligible packages

winget upgrade --all

The --all switch attempts to upgrade every application for which an update is available. Treat it as a batch operation: review the available-update list first, then run the command when you accept the broader change scope.

Two conditions can affect the result. A package with a WinGet pin is intentionally constrained, and an application whose installed or available version is unknown may not behave like a normally versioned package. Check pins and the command output instead of assuming that every listed program will upgrade successfully.

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

15. Inspect packages protected by pins

winget pin list

This lists packages whose upgrades are constrained by WinGet pinning. Pins explain why an otherwise eligible update may be held back or treated differently during a bulk operation. A pin applies to WinGet’s upgrade behavior; it does not prevent an upgrade performed through the application’s own updater or another tool.

Rank #4
AboveTEK Portable Laptop Lap Desk w/Retractable Left/Right Mouse Pad Tray, Non-Slip Heat Shield Tablet Notebook Computer Stand Table w/Sturdy Stable Work Surface for Bed Sofa Couch or Travel
  • Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
  • Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
  • Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
  • EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
  • Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.

Remove a program precisely

9. Uninstall one application

winget uninstall <id> -e

Use the exact ID to remove a selected application without depending on an ambiguous name match. The commands winget remove and winget rm are aliases for the uninstall operation, so scripts can use whichever spelling best fits their conventions.

Run winget list first when you are unsure of the installed identifier. Because the inventory can include applications installed outside WinGet, it can also expose software that is not present in a previous WinGet history.

Manage package sources

10. Display configured repositories

winget source list

Use this command to see which repositories the client currently trusts for discovery and installation. Confirm the source before installing a package, particularly on a managed computer where repository policy matters.

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

11. Refresh source data

winget source update

This refreshes the local data used by the configured sources. Run it when search results look stale or before an inventory-and-upgrade session that depends on current package metadata.

Best Value
Sale
LAPGEAR Home Office Lap Desk – Pink, Fits 15.6” Laptops | Built-In Mouse Pad & Phone Slot, Integrated Device Ledge, Dual-Bolster Microbead Cushion, Carry Handle
  • Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

12. Restore the documented defaults

winget source reset

source reset restores the documented default sources. Treat it as a corrective operation: custom repository configuration can be replaced, so record any intentional source setup before resetting.

Reproduce a workstation on another PC

13. Export the installed-package list

winget export -o packages.json

export saves an installed-package list to the specified JSON file. Store the file with your setup documentation or copy it to the destination computer. An export is a package-list recipe, not a disk image: it does not capture application data, personal settings or licenses.

14. Import the list

winget import -i packages.json

import reads the exported file and installs the packages it describes. Review the file before running it on a new machine, because availability, source configuration and package versions can differ between computers.

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

Configuration files for packages plus system settings

When a repeatable setup must include Windows settings as well as applications, use WinGet configuration with winget configure. Export and import handle package lists; configuration files can combine those packages with system settings in one declarative setup.

Adjust client behavior and stage installers

16. Open WinGet settings

winget settings

This opens the client’s JSON settings editor. winget config is an alias. Use the editor only when you understand the setting you are changing, and keep a backup of a working configuration so an experimental change can be reversed.

17. Download without performing the normal install

winget download <id> -e

download retrieves an installer and its dependencies without going through the normal install flow. That is useful for staging files, transferring them to an offline or restricted system, or inspecting the payload before installation. Microsoft Store packaged downloads require Microsoft Entra ID authentication, so those packages may need an authenticated account even though the command is a download rather than an immediate install.

Choose the command that matches the risk

Goal Best starting command Why
Find an app winget search Shows candidate packages and supports filters
Verify a candidate winget show Exposes metadata before changes are made
Install one app winget install <id> -e --source winget Uses exact selection and an explicit source
Check the whole machine winget list Includes apps installed outside WinGet
Update selectively winget upgrade <id> -e Limits the change to one package
Update broadly winget upgrade --all Attempts every eligible upgrade after review
Rebuild a package set winget export then winget import Creates and applies a reusable package list
Stage an installer winget download Obtains files without the normal install operation

Troubleshooting and safe operating habits

  • No command is recognized: verify that App Installer is present and that winget --help runs in the terminal you are using.
  • Too many search matches: repeat the search with --id, --name, --source or --exact, then verify the result with show.
  • An update is missing: run winget source update, inspect winget pin list, and check whether the package reports an unknown version.
  • A bulk upgrade changes less than expected: pins, unknown versions and package-specific installer behavior can prevent some entries from upgrading; use the output to identify those entries and handle them individually.
  • A source behaves unexpectedly: inspect it with winget source list. Use source reset only when restoring the documented defaults is acceptable.
  • A download cannot fetch a Store package: Microsoft Store packaged downloads require Microsoft Entra ID authentication.
  • An installer requests elevation: decide whether the publisher and source are trusted before approving. Running the terminal as administrator changes the prompt behavior, not the trustworthiness of the software.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

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.