Merge pull request #463 from Itai-Nelken/patch-4

fix 'nvm: command not found' for Node.js install script
pull/464/head
Botspot 5 years ago committed by GitHub
commit eb65c5528f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,10 @@ fi
#Install nvm manager: #Install nvm manager:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash || error "Failed to install nvm!" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash || error "Failed to install nvm!"
source ~/.bashrc #source ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
#Install NodeJS: #Install NodeJS:
nvm install --lts nvm install --lts

Loading…
Cancel
Save