1. nvm
任意快速切换nodejs
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash2. github
# 启用代理
git config --global http.proxy http://172.31.0.1:7890
git config --global https.proxy http://172.31.0.1:7890
# 验证
git config --global --get http.proxy
# 只代理github
git config --global http.https://github.com.proxy http://172.31.0.1:7890
# 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
评论