Created
September 17, 2021 00:54
-
-
Save bipin-nag/0643fca44fd66e457442fd404a24813b to your computer and use it in GitHub Desktop.
Node.js setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
echo ' | |
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 | |
'>> ~/.zshrc | |
nvm ls-remote --lts | grep Latest | |
nvm install --lts=Erbium | |
nvm install --lts=Fermium | |
nvm install-latest-npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment