linux 安装 nvm

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。

原文地址:https://www.cnblogs.com/lizhanzhou/p/5596879.html