Skip to content

Instantly share code, notes, and snippets.

@couragecowardlydog
Created May 2, 2020 05:40
Show Gist options
  • Save couragecowardlydog/95f19d016bcb79a3dcffc691d8257250 to your computer and use it in GitHub Desktop.
Save couragecowardlydog/95f19d016bcb79a3dcffc691d8257250 to your computer and use it in GitHub Desktop.
Installing nodejs in linux box
# 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