how to install chocolatey package manager code example
Example 1: 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'))
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).