nodejs development environment setup.
$ vim ~/.npmrc
progress = true
registry = https://registry.npm.taobao.org/
nvm is Node Version Manager.
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
$ nvm install stable
$ nvm install 8
$ nvm list
$ nvm use 8