From 91f10331e53b357791d26bc5fe9efa50d4911e90 Mon Sep 17 00:00:00 2001 From: Mehran Dehghanian Date: Mon, 17 Oct 2022 17:09:57 +0330 Subject: [PATCH] Add 'Install Node on Ubuntu and Debian' --- Install-Node-on-Ubuntu-and-Debian.md | 91 ++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Install-Node-on-Ubuntu-and-Debian.md diff --git a/Install-Node-on-Ubuntu-and-Debian.md b/Install-Node-on-Ubuntu-and-Debian.md new file mode 100644 index 0000000..07397df --- /dev/null +++ b/Install-Node-on-Ubuntu-and-Debian.md @@ -0,0 +1,91 @@ +Node.js Current: + +## Using Ubuntu +``` +curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -fsSL https://deb.nodesource.com/setup_current.x | bash - +apt-get install -y nodejs +``` + +Node.js v13.x: + +## Using Ubuntu +``` +curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_13.x | bash - +apt-get install -y nodejs +``` + +Node.js v12.x: +## Using Ubuntu +``` +curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_12.x | bash - +apt-get install -y nodejs +``` + +Node.js v11.x: +## Using Ubuntu +``` +curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_11.x | bash - +apt-get install -y nodejs +``` + +Node.js v10.x: +## Using Ubuntu +curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - +sudo apt-get install -y nodejs + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_10.x | bash - +apt-get install -y nodejs +``` + +Node.js v9.x: +## Using Ubuntu +``` +curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_9.x | bash - +apt-get install -y nodejs +``` + +Node.js v8.x: + +## Using Ubuntu +``` +curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - +sudo apt-get install -y nodejs +``` + +## Using Debian, as root +``` +curl -sL https://deb.nodesource.com/setup_8.x | bash - +apt-get install -y nodejs +``` \ No newline at end of file