-
Install lastest PowerShell
-
Download https://chocolatey.org/install.ps1
-
Launch Command Prompt as Administrator
-
Type below commands
set chocolateyproxylocation=http://example.com:8080 set chocolateyproxyuser=user set chocolateyproxypassword=pass powershell.exe -noprofile -executionpolicy bypass -command "& '.\install.ps1'"
-
Re-launch Command Prompt as Administrator
-
Type below commands
choco config set proxy http://example.com:8080 choco config set proxyUser user choco config set proxyPassword pass
Last active
January 14, 2016 11:30
-
-
Save watagashi/bda0e55d5955656d8e8b to your computer and use it in GitHub Desktop.
Install Chocolatey behind authenticated proxy server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment