set npm config proxy code example
Example: setting proxy in npm
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port