====== Behind Proxy Server ======
Two commands is needed. Assume ''HTTP'' protocol is being uses, and the proxy server hostname is ''proxy.exmaple.com'', and the port is ''8080''.
===== Proxy without Password=====
npm config set proxy http://proxy.example.com:8080
npm config set https-proxy http://proxy.example.com:8080
===== Proxy with Password=====
Assume the user log in name is ''username'', and the password is ''password'':
npm config set proxy http://username:password@proxy.example.com:8080
npm config set https-proxy http://username:password@proxy.example.com:8080
===== To View the Current Setting=====
Assume the user log in name is ''username'', and the password is ''password'':
npm config get proxy
npm config get https-proxy
===== To Delete the Old Setting=====
Assume the user log in name is ''username'', and the password is ''password'':
npm config delete proxy
npm config delete https-proxy