• / Install with cmd.exe Run the following command. @ '%SystemRoot% System32 WindowsPowerShell v1.0 powershell.exe ' -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command 'iex ((New-Object System.Net.WebClient).DownloadString(' && SET 'PATH=%PATH%;%ALLUSERSPROFILE% chocolatey bin ' Install with PowerShell.exe With PowerShell, there is an additional step. You must ensure is not Restricted.