curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bash_profile &&
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bash_profile
nvm ls-remote
nvm ls
nvm install v8.11
node -v
npm config get registry
npm config set registry http://[your-server]:[port]/artifactory�/npm
Copyright © 2017 Alex Choi