How to enable uninstall feature in Windows Package Manager Preview

0

Source: Windows Central

The Windows Package Manager is currently under development, but the preview is available for anyone to try on their own Windows 10 PC. The catalog of installable software has grown rapidly, but the biggest limitation until recently was the lack of an uninstall feature.

This part has changed with the first update of 2021, and it is now possible to remove applications with the Windows package manager. And not only those installed with it, but it is also possible to use the winget uninstall command to remove more traditionally installed items.

If you want to try it out and extend your own Windows Package Manager experience a bit more, here’s how to enable it in preview.

How to enable uninstall feature in Windows Package Manager Preview

Windows Package ManagerSource: Windows Central

To 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

Then you will have to activate the experimental settings node down and activate the uninstallation. To enable the uninstall feature, just 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 verify that it has been activated by entering the winget features command or using winget --help. If successful, both will now show that the uninstall feature has been enabled.

How to use the uninstall function

Windows Package ManagerSource: Windows Central

Using the new uninstall feature is as easy as expected and is the opposite of the install command.

To delete an application, type:

winget uninstall

Assuming Windows Package Manager can currently uninstall it, you’ll get a message on startup and a notification on completion.

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 software, especially if you spend a lot of time in PowerShell.

Share.

Comments are closed.