Config proxy for Nuget

  1. Download Nuget.
  2. Open command line, in folder of Nuget.exe, press Alt+Shif+F, select open command window here

Commands to set nuget proxy

nuget.exe config -set http_proxy=http://my.proxy.address:port
nuget.exe config -set http_proxy.user=mydomain\myUserName
nuget.exe config -set http_proxy.password=mySuperSecretPassword

Commands to view nuget proxy

nuget.exe config http_proxy
nuget.exe config http_proxy.user
nuget.exe config http_proxy.password

Leave a Reply

Your email address will not be published. Required fields are marked *