Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove a package installed via Chocolatey?

I installed gittfs using

cinst gittfs

How do I now remove the gittfs package?

like image 768
Ben Aston Avatar asked Apr 27 '12 15:04

Ben Aston


People also ask

How do you completely remove chocolate?

Folder. Most of Chocolatey is contained in C:\ProgramData\chocolatey or whatever $env:ChocolateyInstall evaluates to. You can simply delete that folder.

Where are the Chocolatey packages installed?

Most package contents will be installed to the chocolatey directory, which you can find at C:\ProgramData\chocolatey\lib .


2 Answers

Use

cuninst packagename

See Uninstall Command for details.

like image 102
xuhdev Avatar answered Oct 12 '22 22:10

xuhdev


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

like image 31
Matt Avatar answered Oct 12 '22 23:10

Matt