set http_proxy=http://username:password@proxy:port
set https_proxy=
http://username:password@proxy:portDon’t use quotes around the parameter
Encode passwords with
php -r "echo urlencode('Pa$$w0rd!');"winsh winhttp import proxy source=ieSelf signed certificate in certificate chain
npm config set strict-ssl falsec:\programdata\gemrc :ssl_verify_mode: 0