1. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh

    可以改为国内源来安装

    1. $ cd ~/git
    2. $ git clone https://github.com/creationix/nvm.git
    3. 改为 gitee 仓库( github creationix/nvm 的镜像仓库)
    4. $ git clone https://gitee.com/mirrors/nvm.git
    5. $ source ~/git/nvm/nvm.sh
    6. $ nvm ls