Last active
March 17, 2020 10:30
-
-
Save makevoid/8a083d95c6079960ecc4be67ba6c16a4 to your computer and use it in GitHub Desktop.
install node 12
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
| # 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