Skip to content

Instantly share code, notes, and snippets.

@Decad
Created March 3, 2014 09:07
Show Gist options
  • Save Decad/9321157 to your computer and use it in GitHub Desktop.
Save Decad/9321157 to your computer and use it in GitHub Desktop.
Install Chocolatey using system default proxy
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$wc=new-object net.webclient; $wc.proxy.credentials=[system.net.credentialcache]::defaultnetworkcredentials;$wc.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