My Sites


Friday, July 15, 2016

Everything you need to know about nvm

Install/ Update NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash
or
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash

source ~/.bashrc
nvm ls-remote command results in “N/A”
export NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist

nvm ls-remote
nvm install 5.0
nvm use 5.0
nvm run 5.0 --version
nvm which 5.0

1 comment: