Chocolatey FTW!

Chocolatey from chocolatey.org is the best thing ever!

If you are a Windows .NET developer, you’ve probably heard of NuGet. It keeps track of what add-on packages you are using, including dependencies and allows you a lovely way of keeping them up-to-date. Chocolately does that for Windows applications.

I’ve included the basic installation command below which you want to run from a command prompt in Administrator mode. It looks complicated but it only gets simpler from there.
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

…and since I’m keen on simple, I also install the ChocolateyGUI, although I realise this step is not essential. Still, when it is this simple, why not?
cinst ChocolateyGUI

Now, I will also admit that I then went and modified the properties of the ChocolateyGUI startup shortcut to run in Administrator mode since you need that to install packages (unless you have some other way around it).

From there, you can troll through the list in the GUI to find packages to install or you can go look at the packages list at chocolatey.org/packages since it sorts by popularity.

I’m fairly sure it isn’t good for you though – it’ll make your Windows fat!

Posted in System Management
One comment on “Chocolatey FTW!
  1. Rob.Spencer says:

    I don’t install the GUI anymore. I’ve found that the command line is much quicker.

    Chocolatey continues to evolve but as of Chocolatey V0.9.9.8, the command to update everything I have installed is

    cup all -yr

Leave a Reply

Your email address will not be published. Required fields are marked *

*