
If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security. You must ensure Get-ExecutionPolicy is not Restricted. With PowerShell, there is an additional step. Run the following -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin" Installing the licensed edition? See install licensed edition.

Need completely offline solution? See Completely Offline Install.If you are behind a proxy, please see Installing behind a proxy.Type choco or choco -? now, or see Getting Started for usage instructions.If you don't see any errors, you are ready to use Chocolatey CLI!.Wait a few seconds for the command to complete.Paste the copied text into your shell and press Enter.Copy the text specific to your command shell - cmd.exe or powershell.exe.Refer to Non-Administrative Installation for information on installing without administrative rights.First, ensure that you are using an administrative shell.

NET Framework 4.5+ is required for installing directly from the Chocolatey Community Repository, due to the TLS 1.2 requirement

