Skip to content

Instantly share code, notes, and snippets.

@joshgo
Created July 29, 2013 14:40
Show Gist options
  • Save joshgo/6104778 to your computer and use it in GitHub Desktop.
Save joshgo/6104778 to your computer and use it in GitHub Desktop.
Chocolatey Install Behind Proxy
@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
@joshgo
Copy link
Author

joshgo commented Jul 29, 2013

  • Run the command on the C:\

TIP: You might have to change the download string from https to http

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment