How to Uninstall Programs With Chocolatey

Chocolatey makes uninstalling old and unneeded software a breeze.
Odin Odin (40)
0

Have you ever found program management on a Windows system to be a bit of a pain? Well, no longer! Chocolatey is a powerful PowerShell-based software management solution that allows you to manage every aspect of your Windows software environment, including using Chocolatey to install programs. Via simple PowerShell commands, you gain a great level of control over your installed programs: Chocolatey can even handle batch installations, updates, and uninstallations (as we’ll explore in this article).

With Chocolatey you can manage all aspects of your software environment easily.

Chocolatey only manages that software that you installed through Chocolatey. But once you’ve installed a program using Chocolatey, you can then manage all aspects of your software environment easily.

There are two ways to uninstall a program managed by Chocolatey: either via PowerShell commands or Chocolatey’s GUI (graphical user interface) should you have it installed, which is really easy to do.

Posted in these interests:
Chocolatey Logo
h/chocolatey3 guides
h/windows37 guides
PowerShell Logo
h/powershell3 guides
PowerShell uninstall
  • Open PowerShell by searching for it in Windows search. Make sure to open it via Run as Administrator.
  • The first PowerShell command we’ll be using today is: choco uninstall which allows you to uninstall programs really quickly and easily.
  • For instance, you could use this to remove a single program: choco uninstall googlechrome
  • Or you could use this to uninstall a selection of programs all at once: choco uninstall googlechrome notepadplusplus 7zip
  • Or even uninstall everything managed by Chocolatey in one glorious shot with: choco uninstall all
  • To find a list of all your Chocolatey-installed software, use the following command in PowerShell: choco list --local-only
  • Finally, to ensure that your uninstallation process slides through without hassle, append your command with -y (for “yes”), which will automatically select the affirmative option from the software’s uninstallation prompts should any exist. See the example below.
  • choco uninstall googlechrome -y
Choco-gui-uninstall

If you are using the Chocolatey graphical user interface, you can also use it to uninstall any Chocolatey-managed programs you desire. The process here is as simple as right-clicking on the item in question and choosing “Uninstall” from the drop-down menu.

The GUI isn’t as handy for uninstalling a large selection of software in one go, however, so I’d stick to PowerShell for big operations.

Automatically install all your favorite programs with just one click.
Odin Odin (40)
0

Chocolatey is a PowerShell-based software management solution that allows you to manage every aspect of your Windows software environment.