Created
May 2, 2020 05:40
-
-
Save couragecowardlydog/95f19d016bcb79a3dcffc691d8257250 to your computer and use it in GitHub Desktop.
Installing nodejs in linux box
This file contains hidden or 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
# Installing nodejs using nvm | |
# Download script from git | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
# Execute script & insatall nvm | |
. ~/.nvm/nvm.sh | |
# List remote versiobn | |
nvm ls-remote | |
# Install specific version of node | |
nvm install v12.16.3 | |
# Use a node version | |
nvm use v14.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment