Repository URL to install this package:
|
Version:
1.2.7 ▾
|
# https://unix.stackexchange.com/questions/217905/restart-bash-from-terminal-without-restarting-the-terminal-application-mac
# https://github.com/creationix/nvm#zsh
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.3/install.sh | bash
touch ~/.bash_profile
# export NVM_DIR="$HOME/.nvm"
export NVM_DIR="~/.nvm"
source ~/.bash_profile
source ~/.nvm/nvm.sh
echo 'list of node versions'
nvm ls
echo 'installing 8.5'
# source $HOME/.nvm/nvm.sh
# nvm uninstall 8.4
# echo 'uninstall complete'
nvm install 8.5
nvm --version
nvm use 8.5
nvm alias default node
nvm use 8.5
npm install -g yarn
nvm install stable
node --version
nvm ls
exec bash --login
reset
exit
# nvm uninstall 8.4