curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh
可以改为国内源来安装
$ cd ~/git$ git clone https://github.com/creationix/nvm.git改为 gitee 仓库( github creationix/nvm 的镜像仓库)$ git clone https://gitee.com/mirrors/nvm.git$ source ~/git/nvm/nvm.sh$ nvm ls
