Karol Zlot
Karol Zlot

Reputation: 4035

chocolatey: cuninst alias vs choco uninstall

In this answer I can read:

"For new versions, should use choco uninstall packagename."

Does it mean that cuninst, cup, cinst will get deprecated? Is it better to use choco uninstall ?

I see no such info in chocolatey docs

Upvotes: 1

Views: 667

Answers (1)

Gary Ewan Park
Gary Ewan Park

Reputation: 18981

There is definitely a move away from the aliases that are being shipped with Chocolatey. For example, there is a known issue with the cpack alias, which causes problems when you also have CMake installed on the machine. This has been handled in the documentation for the command here:

https://chocolatey.org/docs/commands-pack

Notice the mention of is being deprecated. Also, I would suggest following this issue for additional information about potential deprecations:

https://github.com/chocolatey/choco/issues/89

Personally, I would recommend that you move away from using the aliases, and instead, use the full command, for example:

choco upgrade all

choco install ...

choco uninstall ...

etc.

Upvotes: 1

Related Questions