The Chocolatey package manager supports silent installations via the command below. It doesn't seem to have an uninstall command.
cinst install packagename
Is there a way to uninstall an application via Chocolatey?
Folder. Most of Chocolatey is contained in C:\ProgramData\chocolatey or whatever $env:ChocolateyInstall evaluates to. You can simply delete that folder.
As I answered here, you can use
cuninst packagename
to uninstall a package.
Details can be found at Uninstall Command.
Edit: For new versions, should use choco uninstall packagename
.
Update: Chocolatey now has primitive support for uninstall through 'cuninst packagename'. With that though the package authors need to provide a chocolateyUninstall.ps1 file that would undo all of the things that the install did. It's limited because
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With