Last Updated: February 25, 2016
· jwebcat

meet Chocolatey the apt-get for Windows (kind of)

  • Well I got pretty excited when I first tried Chocolatey

  • here is how you install it. paste the following into a cmd shell. NOT a powershell

$  @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(''))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

the above powershell script will only execute from a cmd shell *

  • Chocolatey will download and install itself.

then you can browse their package gallery and from cmd

$ cinst packageName

to update Chocolatey itself you type from cmd

$ cup

or to update all packages

$ cup all

or to update a specific package

$ cup packageName
$ apt-get package1 package2 otherPackage yetAnotherPAckage

-the only thing that comes close with Chocolatey is you can make a install package that downloads and installs several packages at once.

  • I really like it, for Windows it's the closest thing to apt-get