Skip to content

Instantly share code, notes, and snippets.

@khanakia
Last active November 22, 2019 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khanakia/c976a13633a3bf9aa6088b4b2ab8bd7e to your computer and use it in GitHub Desktop.
Save khanakia/c976a13633a3bf9aa6088b4b2ab8bd7e to your computer and use it in GitHub Desktop.
Install Node.js Ubuntu
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
## For Older Version you can use
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
# Check versions
node -v
npm -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment