Press "Enter" to skip to content

Install Chocolatey on Windows

bist 0

Chocolatey is what APT and YUM is to linux. In other words it installs software from a repository to windows. Combining this with ansible is very powerful.

Copy this command to windows to install Chocolatey

@"%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"


After you installed Chocolatey it becomes super easy to deploy software.

Try this: 
Open a command line and type this choco install notepadplusplus

 

Leave a Reply

Your email address will not be published. Required fields are marked *