How "clean" are Chocolatey installs and uninstalls?

I have installed Chocolatey and tested it by installing Docker Desktop.

All is well and good, but I wonder, if I uninstall Docker Desktop through Chocolatey, will the package manager delete everything it brought in during install?

Isn't the whole point of Chocolatey that it does not leave registry trash and other such leftover files when uninstalling?

My DevOps teacher said that Chocolatey should be used for installing our DevOps tools since it keeps the system cleaner than installing through regular installers.


Also, since Chocolatey had to be installed with a script they offer at the Chocolatey website, does unistalling Chocolatey itself leave some config files and such stuff behind?

1 Answer

There is a lot of information about the choco Uninstall command here:

Uninstall Command (choco uninstall)

Synchronizer and AutoUninstaller enhancements in licensed versions of Chocolatey ensure that Autouninstaller is up to 95% effective at removing software without an uninstall script. This is because synchronizer ensures the registry snapshot stays up to date and licensed enhancements have the ability to inspect more locations to determine how to automatically uninstall software.

Uninstalling Chocolatey Should you decide you don't like Chocolatey, you can uninstall it simply by removing the folder (and the environment variable(s) that it creates). Since it is not actually installed in Programs and Features, you don't have to worry that it cluttered up your registry (however that's a different story for the applications that you installed with Chocolatey or manually).

Uninstalling Chocolatey

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like