Skip to content

Instantly share code, notes, and snippets.

@cxjava cxjava/chocolatey
Created Aug 23, 2014

What would you like to do?
chocolatey 代理设置 设置代理
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$wc=new-object net.webclient; $wp=[]::GetDefaultProxy(); $wp.UseDefaultCredentials=$true; $wc.Proxy=$wp; iex ($wc.DownloadString(''))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
设置 代理
.\nuget config -Set http_proxy=
.\nuget config -Set https_proxy=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.