curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash
或者
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash
之后
source ~/.bashrc
ok。
linux 安装 nvm
原文:http://www.cnblogs.com/lizhanzhou/p/5596879.html