Last active
April 17, 2021 16:59
-
-
Save come25136/b2fb6531aa67a9bcac7bdbbb97e93e39 to your computer and use it in GitHub Desktop.
curl -sSL https://gist.githubusercontent.com/come25136/b2fb6531aa67a9bcac7bdbbb97e93e39/raw/nodejs_stable_setup_debian.sh | sudo sh
This file contains 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
#!/bin/sh | |
apt update -y && | |
apt upgrade -y && | |
apt install -y nodejs npm && | |
npm i -g n && | |
n lts && | |
apt purge -y nodejs npm && | |
exec $SHELL -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment