WindowsPowerShell设置代理Proxy

林一二2024年04月13日 19:04
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