npm yarn proxy code example
Example: set yarn proxy
yarn config set proxy http://user:password@host:port
yarn config set https-proxy http://user:password@host:port
yarn config set proxy http://user:password@host:port
yarn config set https-proxy http://user:password@host:port