

Upgrading from a version of Chocolatey less than 0.9.9.

WARNING: You can safely ignore errors related to missing log files when

C:\ProgramData\chocolatey\lib\yourPackageName).Ī shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'Īnd points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.Ĭreating Chocolatey folders if they do not already exist. 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"
