linux下安装nodejs包管理器nvm,linux命令nvm
下载安装
0 |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash |
0 |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash |
next:
vim ~/.bashrc 写入下面代码
0 1 |
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm |
下一步即可安装node
如 v6.11.0版本 Continue reading