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?
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?
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
.
Uninstall-ChocolateyPackage.ps1
& UnInstall-ChocolateyZipPackage.ps1
are now provided within %chocolateyinstall%\helpers\functions
(at least in v>=0.9.8.20). You could <requires>
this version of chocolatey or review the trunk and determine which version contains both helper functions. –
Inexertion choco uninstall packagename
(cinst is going soon) –
Sauls 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
© 2022 - 2024 — McMap. All rights reserved.
choco uninstall PackageName
– Valuer