Search

Wednesday, March 23, 2016

Installing Software on Windows the Easy Way (Using Chocolatey)

I've been using Chocolatey for a while now, and today I want to share the coolness, for those of you that haven't heard of it or used it. It’s much like apt-get for Windows (automatic way to install software from the web).

You install it by running this on the command line:

@powershell -NoProfile -ExecutionPolicy Bypass
-Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
&& SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

After that, let’s say you want to install Chrome, it’s simple as (running from CMD)
choco install chrome

or EverNote:
choco install evernote

or Node:
choco install nodejs.install

You just have to remember to run CMD as administrator. Bypass the license prompt by using the "-y" command argument. You can install any of the 3779 packages it supports. They are listed at https://chocolatey.org/packages
// //]]>