Skip to content

Instantly share code, notes, and snippets.

@makevoid
Last active March 17, 2020 10:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save makevoid/8a083d95c6079960ecc4be67ba6c16a4 to your computer and use it in GitHub Desktop.
install node 12
# apt install curl sudo -y
# bash <(curl -s https://gist.githubusercontent.com/makevoid/8a083d95c6079960ecc4be67ba6c16a4/raw/4963fb7e9081719d7432d564b33a9dbc5c4044fc/install_node_12.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_12.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