Skip to content

Instantly share code, notes, and snippets.

@cxjava
Created August 23, 2014 02:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cxjava/eebe0741d5158cc9b8a6 to your computer and use it in GitHub Desktop.
Save cxjava/eebe0741d5158cc9b8a6 to your computer and use it in GitHub Desktop.
chocolatey 代理设置
https://gist.github.com/da9l/2852270 设置代理
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$wc=new-object net.webclient; $wp=[system.net.WebProxy]::GetDefaultProxy(); $wp.UseDefaultCredentials=$true; $wc.Proxy=$wp; iex ($wc.DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
设置 代理
http://escapologist.wordpress.com/2013/02/27/nuget-and-chocolatey-behind-a-proxy/
.\nuget config -Set http_proxy=127.0.0.1:9087
.\nuget config -Set https_proxy=127.0.0.1:9087
@ibin7777
Copy link

感谢

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