Last year Microsoft introduced a preview of Windows Package Manager, a utility that lets you install Windows applications from a command prompt. Basically it’s the Windows equivalent of the apt, yum, or pacman tools used by GNU/Linux distributions like Debian, Fedora, and Arch.

But the Windows Package Manager is still very much a work in progress. For example, one big thing it didn’t support until recently? Uninstalling apps.

Anything you installed from a command line still needed to be removed using the traditional Windows add/remove programs dialog. But that’s no longer the case starting with Windows Package Manager v0.2.10191 Preview, which adds experimental support for uninstalling apps.

Winget Uninstall

Since the feature is still experimental, it needs to be enabled. After installing the latest version of the Windows Package Manager, you can enable uninstall support by:

  • Typing “winget settings” (without the quotes) and then hitting enter to open the Settings file in Notepad or another text editor
  • Adding the following text to Settings file and then saving and closing the file:
"experimentalFeatures": {
       "uninstall": true
   },

Once that’s done, you can use the Package Manager to begin the uninstall process for just about any software on your computer by typing “winget uninstall <app name>.” But there are a few things to keep in mind.

First, Windows Package Manager will launch the uninstaller for the program, which means that you can start the process from the command line, but you’ll probably end up finishing it using a graphical user interface.

Second, the uninstall command is very picky with names. I was able to install VLC media player by typing:

winget install vlc

But in order uninstall the same program, I needed to type

winget uninstall "vlc media player 3.0.11 (64-bit)"

You can get a complete list of installed applications and their proper names by typing “winget uninstall” though, which may help. But honestly, it’s probably faster just to launch the Windows add/remove program utility at this point.

Still, it’s nice to see that Microsoft developers are continuing to work on Windows Package Manager, and I’m hopeful that one day it could become a useful tool for adding and removing programs using a keyboard.

via Windows Central and @DenelonMs

Support Liliputing

Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).

But there are several ways you can support the site directly even if you're using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign

or...

Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

Subscribe to Liliputing via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9,543 other subscribers

4 replies on “Now you can uninstall apps with Windows Package Manager (command-line tools)”

  1. This is really cool, one of my favorite part about using Linux (Ubuntu in my case) is I don’t have open the software installer/uninstaller in order to add or remove an application. As this can be done easily via terminal.

  2. This seems cool but don’t see why it’s any better than simply uninstalling programs with wmic.

  3. Everyday Windows seems more and more like Linux, but it’s a long road to run

  4. I mean, sure, but it’ll be a looong time before I switch from Chocolatey to this.

Comments are closed.