Windows Package ManagerSource: Windows Central

The Windows Package Manager is currently a work in progress, but the preview is available for anyone to try on their own Windows 10 PC. The catalog of software that can be installed has been rapidly growing, but the most significant limitation until recently has been the lack of an uninstall feature.

That part changed with the first update of 2021, and it's now possible to remove apps with the Windows Package Manager. And not only those installed with it, but it's also possible to use the winget uninstall command to remove things installed in a more traditional way.

If you want to try it out and expand your own Windows Package Manager experience a little more, here's how to enable it in the preview.

VPN Deals: Lifetime license for $16, monthly plans at $1 & more

How to enable the uninstall feature in Windows Package Manager Preview

Windows Package ManagerSource: Windows Central

The use the Windows Package Manager to uninstall apps, you'll need to enable it in the settings.json file.

  1. Open a PowerShell window.
  2. Enter winget settings.

    Windows Package ManagerSource: Windows Central

  3. The settings.json will now open in your default text or code editor.

    Windows Package ManagerSource: Windows Central

Next, you'll need to enable the experimental settings node towards the bottom and turn on uninstall. To enable the uninstall feature, simply add the "uninstall": true flag as below.

 "experimentalFeatures": {
        "uninstall": true

Windows Package ManagerSource: Windows Central

Save the file and reload your PowerShell window, and the uninstall feature will now be enabled. You can also check it has been enabled by entering the winget features command or by using winget --help. If you were successful, both of these will now show the uninstall feature having been enabled.

How to use the uninstall feature

Windows Package ManagerSource: Windows Central

Using the new uninstall feature is exactly as simple as you might expect and is the opposite of the install command.

To remove an app enter:

winget uninstall <name>

Assuming it's something the Windows Package Manager can currently uninstall, then you'll receive a message when it starts and a notification when it finishes.

Obviously, the Windows Package Manager isn't for everyone, but having an uninstall feature certainly makes it much more useful even in its preview stages. It's also a much cleaner method than going into Control Panel or Windows Settings to get rid of a piece of software, particularly if you spend a lot of time in PowerShell.