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

chocolatey.org

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('https://community.chocolatey.org/install.ps1'))

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:

PackageCommand
Visual Studio Codecinst vscode -y
Google Chromecinst googlechrome -y
Gitcinst git -y
Git TFScinst gittfs -y