
The packages themselves go to 'C:\ProgramData\chocolatey\lib' We are setting up the Chocolatey package repository. Restricting write permissions to Administrators


WARNING: It's very likely you will need to close and reopen your shell Setting ChocolateyInstall to 'C:\ProgramData\chocolatey' Getting latest version of the Chocolatey package for download.Įxtracting C:\Users\user\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\user\AppData\Local\Temp\chocolatey\chocInstall.Ĭreating ChocolateyInstall as an environment variable (targeting 'Machine') All rights -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " ::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin"
