Execute the following command to set the proxy for HTTP:
npm config set proxy <HOST>:<PORT>
Execute the following command to set the proxy for HTTPS:
npm config set https-proxy <HOST>:<PORT>
Where:
HOST | The host that is running the proxy server |
PORT | The port the proxy server is listening. |
Leave a Reply