1. 安装命令
官方地址:https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
2. 安装完成后执行命令
source ~/.bashrc
3. 验证
nvm -v
1. 安装命令
官方地址:https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
2. 安装完成后执行命令
source ~/.bashrc
3. 验证
nvm -v