chocolatey package manager install code example
Example 1: chocolatey installation
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Example 2: where are chocolatey packages installed
Some packages are installed under ChocolateyInstall\lib, others
- especially packages that are based on Windows installers (.msi files)
- install to the default path of the original installer (which is most likely within Program Files).