1.运行"apt-get install build-essential"
2.运行"apt-get install libssl-dev"
3.如果遇到找不到安装包的话运行 : "apt-get update"
4.curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
5.关闭Terminal 然后在重新启动Terminal
6.wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
7.nvm install 0.10.28
Node version : 0.10.28