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('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
$ cup
or to update all packages
$ cup all
or to update a specific package
$ cup packageName
the only thing that I wish is that you could use it like apt-get and
$ 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
Enjoy.
Written by Jupiter St John
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#