# git
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
git config --global --unset https.proxy
git config --global --unset http.proxy
# npm
npm config set proxy http://127.0.0.1:7890
npm config set https-proxy http://127.0.0.1:7890
npm config delete proxy
npm config delete https-proxy
pnpm config get registry
pnpm config set registry https://registry.npmmirror.com
pnpm config set registry https://registry.npmjs.org/
# py powerShell :http代理 临时生效
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:7890
set http_proxy=
set https_proxy=
Last active
June 25, 2024 06:47
-
-
Save guogang1984/6b3e64a9f7268f256e0c1295fc1998ec to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment