Open cmd/terminal and run these commands along with your own proxy host and port.
npm config set proxy http://[YOUR PROXY HOST]:[PORT]
npm config set https-proxy http://[YOUR PROXY HOST]:[PORT]
npm config set http-proxy http://[YOUR PROXY HOST]:[PORT]