$ @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1'))" && 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
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