centos开启http代理

git config --global http.proxy https://192.168.1.106:7890
git config --global https.proxy https://192.168.1.106:7890



ubuntu开启socket代理

git config --global http.proxy 'socks5://192.168.1.106:7890'
git config --global https.proxy 'socks5://192.168.1.106:7890'


然后安装

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash