Saturday, August 5, 2017

Chocolatey Installation

In our previous post, we had a discussion regarding What & Why of Chocolatey, a windows package manger. In this article, we would discuss how will we get Chocolatey!😀

System Requirements

  • Windows 7+ / Windows Server 2003+
  • PowerShell v2+
  • .NET Framework 4+


Install Chocolatey (Let's get Chocolatey 😀)

  1. Open the Command Prompt as administrator
    Click on the Start button >> Type "cmd" in search bar >> Right-click on the cmd.exe and choose "Run as administrator". Now Command Prompt window would open with C:\Windows\system32>
  2. Copy the below text to your command prompt and hit enter
    @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
  3. If No errors in your command prompt then you are ready to use Chocolatey

Verify Your Installation

choco or choco -? 

Chocolatey v0.10.7
Please run 'choco -?' or 'choco  -?' for help menu.

 Thank you for reading this article. Now you have Chocolatey  in your system! In the next article of this series, we would see how easily one can install/search/ list/upgrade software packages in Windows system using Chocolatey!  Happy Learning!!

No comments:

Post a Comment