WindowsPowerShell设置代理Proxy

林一二13th April 2024 at 11:04am
Ref: cnblogs
Keywords:
$env:HTTP_PROXY="http://127.0.0.1:1000"

对于 npm 可能不生效,需要 .npmrc

https-proxy=http://127.0.0.1:1000
http-proxy=http://127.0.0.1:1000