From 747a23cdafbc740cb0015811621c446ceae589b7 Mon Sep 17 00:00:00 2001 From: 4ngel#2769 <78003275+4ngel2769@users.noreply.github.com> Date: Mon, 20 Sep 2021 13:16:42 -0400 Subject: [PATCH] Created install-deb.sh Node v14.17.6 and npm installation script for debian and debian based distros. --- install-deb.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 install-deb.sh diff --git a/install-deb.sh b/install-deb.sh new file mode 100644 index 0000000..ec285a4 --- /dev/null +++ b/install-deb.sh @@ -0,0 +1,12 @@ +# Node & NPM installation script for Debian based distros. +# Use this script to install node and npm if not installed yet. +# by 4ngel🍁#2769 + +sudo apt-get update && sudo apt-get upgrade +sudo apt-get install curl +curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash +source ~/.profile + +nvm install v14.17.6 + +npm install