Created
July 29, 2013 14:40
-
-
Save joshgo/6104778 to your computer and use it in GitHub Desktop.
Chocolatey Install Behind Proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @powershell -NoProfile -ExecutionPolicy unrestricted -Command "$a = new-object net.webclient; $a.proxy.credentials=[system.net.credentialcache]::defaultnetworkcredentials;$a.DownloadString('https://chocolatey.org/install.ps1') | iex" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TIP: You might have to change the download string from https to http