How do I remove a package installed via Chocolatey?
Asked Answered
J

2

22

I installed gittfs using

cinst gittfs

How do I now remove the gittfs package?

Jecoa answered 27/4, 2012 at 15:50 Comment(2)
I would like to suggest changing the accepted answer to the one by xuhdevJacksnipe
Possible duplicate of Chocolatey Uninstall PackageTundra
C
34

Use

cuninst packagename

See Uninstall Command for details.

Currycomb answered 2/7, 2012 at 10:19 Comment(0)
A
16

UPDATE: as per @ferventcoder's comment, Chocolately has added support for uninstalling packages since this question was first asked and answered.

The syntax is chocolatey uninstall packageName or just cuninst packageName.

You can optionally uninstall a specific version:

cuninst packageName -version 1.0.1234

See Rob's link for the latest, including known limitations: https://chocolatey.org/docs/commands-uninstall

Amice answered 15/5, 2012 at 20:26 Comment(3)
Chocolatey now has native support for uninstall - see github.com/chocolatey/chocolatey/wiki/CommandsUninstallColloidal
It's the most frustrating thing that Chocolatey allows authors to submit packages with no uninstall procedure defined.Iniquity
Choco does have autouninstaller since March 2015 and it's pretty good at automatically uninstalling applications now without an uninstall script.Colloidal

© 2022 - 2024 — McMap. All rights reserved.