Yusuke Masuda
Yusuke Masuda

Reputation: 525

Chocolatey: How to re-install uninstalled package before

I'm managing software on my computer with Chocolatey.
I'm in a trouble with re-installing uninstalled package.

I tried to re-install it, but nothing happens.
How can I re-install a package which I uninstalled before.

choco -y install ruby --version 2.2.4
choco -y uninstall ruby --version 2.2.4
choco -y install ruby --version 2.2.4

I suspect to fail to uninstall, I tried to list with a command "choco list -lo".
However ruby is not displayed on the list.

Upvotes: 2

Views: 4342

Answers (1)

Yusuke Masuda
Yusuke Masuda

Reputation: 525

I resolved this by myself.
I misunderstand the commandline options.

I run chocolatey again with a command below, it was completed with no error.

choco install ruby --version 2.2.4 -y

Upvotes: 3

Related Questions