Requirements

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

Steps to Install Chocolatey

  1. Open Powershell as administrator.
  2. Execute below command to install Chocolatey.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Chocolatey Installed

  1. Once completed, You can verify installation using the choco command. Chocolatey Installed Verify

Now we are ready to install some software packages using the choco command.

Installing Software Packages

  1. Go to Chocolatey Packages to find the software packages.
  2. Search your required software package.
  3. Find the choco install <PKG NAME> command specific to your software package.
  4. Here, I searched for 7zip windows software. Command to install 7zip is choco install 7zip. Chocolatey Software Package
  5. Execute command in the command prompt or power shell.
  6. Once execution completed, you can see the software installed in your machine. Install Package Success

Installing Multiple Software Packages

  • Below is the format for installing many software in a single command. choco install <PKG_NAME_1> <PKG_NAME_2> <PKG_NAME_3> ...
  • Example, here I installed notepad++, cpu-z, 7zip in a single command. choco install 7zip notepadplusplus cpu-z
  • Once execution completed, you can see all softwares are installed. Install Package Success