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 😀)
- 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> - 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('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
- If No errors in your command prompt then you are ready to use Chocolatey
Verify Your Installation
choco or choco -?
C:\Windows\system32>choco
Chocolatey v0.10.7
Please run 'choco -?' or 'choco -?' for help menu.
No comments:
Post a Comment