node安装
安装nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.13.1/install.sh | bash
source ~/.bash_profile
安装node
# 查看node版本
nvm list-remote
# 安装需要的版本
nvm install v11.15.0
2022-10-29 17:08:15
curl https://raw.githubusercontent.com/creationix/nvm/v0.13.1/install.sh | bash
source ~/.bash_profile
# 查看node版本
nvm list-remote
# 安装需要的版本
nvm install v11.15.0