How do I remove a package installed via Chocolatey

2019-04-03 10:18发布

I installed gittfs using

cinst gittfs

How do I now remove the gittfs package?

2条回答
Emotional °昔
2楼-- · 2019-04-03 10:58

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

查看更多
▲ chillily
3楼-- · 2019-04-03 11:17

Use

cuninst packagename

See Uninstall Command for details.

查看更多
登录 后发表回答