Part 1: Installing chocolatey and basic package management

I will be heavily referencing: this blog post and this blog post.

Install Chocolatey:
At a powershell prompt:

$oldexecpol = get-executionpolicy
set-executionpolicy -executionpolicy unrestricted
if ($psversiontable.psversion.major -ge 2 -and @(Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse | Get-ItemProperty -name Version -EA 0 | Where { $_.PSChildName -match '^(?!S)\p{L}'} | Where-Object { $_.version -gt 4}).count -ge 1  ) { invoke-expression ((new-object net.webclient).DownloadString(‘’)) } else { write-host "Installation aborted." -backgroundcolor "darkred"; "You do not have .NET framework 4.0 and/or are not running Powershell > v2.0." }
set-executionpolicy $oldexecpol

Install some Chocolatey-ed packages:
At a cmd prompt:

chocolatey install notepadplusplus

List the packages installed:
at a cmd prompt:

chocolatey version all -lo


  1. No comments yet.
  1. September 12, 2013 at 9:12 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: