安装命令
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh | bash
或
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh | bash
安装成功验证
重启终端,输入命令nvm,可以看到Node Version Manager即代表安装成功。