Skip to content

Instantly share code, notes, and snippets.

@makevoid
Last active September 23, 2022 14:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save makevoid/0ace4d915b37a3e57a7aead6397525c9 to your computer and use it in GitHub Desktop.
Save makevoid/0ace4d915b37a3e57a7aead6397525c9 to your computer and use it in GitHub Desktop.
Install node 10
# bash <(curl -s https://gist.githubusercontent.com/makevoid/0ace4d915b37a3e57a7aead6397525c9/raw/1fe13cbb52a3068f8d9b4e05f8fd306d1d2714ce/install_latest_node.js)
set -xe
sudo apt-get update -y
sudo apt-get install -y curl apt-transport-https ca-certificates
curl --fail -ssL -o setup-nodejs https://deb.nodesource.com/setup_10.x
sudo bash setup-nodejs
sudo apt-get install -y nodejs build-essential git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment