Chocolatey – The free and open source windows app store.
If you haven?t heard of it, you?re about to be delighted. Every developer (at least those on Windows) should know about this project, if for nothing more than to make life setting up your dev machine a piece of cake.
What is Chocolatey?
Straight from the Chocolatey.org site:
Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with windows in mind.
If you?ve not ever used a linux machine or understand what the power of an ?apt-get? like tool is, well It?s basically the simplest possible way to install an application to your machine.
What could be simpler than finding the app?s website, download the app, and next, next, next through the the installer? How about just typing ?chocolaty install notepadplusplus? at a powershell command prompt? That simple little command will download and install Notepad++ right on your machine with virtually no need to interact with the installer. AWESOME!!!
I know there are other installer applications out there that aggregate and install different? programs; however, to be honest, I don?t use any of them. I am also going to assume that most of them aren?t catered to the windows developer (maybe I?m wrong). Either way I like this project and I?m just trying to share it with the community. So There?
Ok, my above salesmanship is a little loud mouthy, but maybe your interest is peaked enough to give it a try.
How do I install Chocolatey?
It?s about as simple to install Chocolatey as it is to use Chocolatey to install other applications. One single powershell command. Just paste the below command in your powershell prompt and let er rip.
Run the Chocolatey install.
iex ((new-object net.webclient).DownloadString("http://bit.ly/psChocInstall"))
Now that you have chocolatey installed, head over to the Chocolatey.org website and browse the packages you can now install.
C:\Code>chocolatey install notepadplusplus
How can I know when new packages are added to the Chocolatey.org feed?
You can get more background on this approach by following my previous post What?s happening on the NuGet feed (leveraging OData in an RSS reader)
The direct RSS link I have is as follows:
Plug that into your RSS reader and you should be notified when new packages are added to the Chocolatey.org feed.
Happy Setting up your Dev Machine!