How to Install Chocolatey on Windows PowerShell

Chocolatey is a software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages

How to Install Chocolatey in PowerShell

Open PowerShell (Run PowerShell in Administrator mode) and paste the following script:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''))
Code language: PowerShell (powershell)

This will install Chocolatey, and get you to the point of being able to install packages.

Install some Packages with Chocolatey

Some example packages to install:

Visual Studio Codecinst vscode -y
Google Chromecinst googlechrome -y
Gitcinst git -y
Git TFScinst gittfs -y
Notify of
Inline Feedbacks
View all comments