xxxxxxxxxx
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt install -y nodejs
xxxxxxxxxx
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Install RethinkDB on Ubuntu
xxxxxxxxxx
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install nodejs
# Check node version
node -v
xxxxxxxxxx
# Update the package manager
sudo apt update
# Install the required dependencies
sudo apt install curl gnupg
# Install Node.js 14.x
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
# Verify the installation
node --version
npm --version
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install nodejs
# Check node version
node -v
# v15.14.0
# Also, check the npm version
npm -v
# 7.7.6
xxxxxxxxxx
su -c 'curl -sL https://deb.nodesource.com/setup_15.x | bash -'
su -c 'apt update'
su -c 'apt install -y nodejs'
node --version # v15.0.0
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install nodejs
xxxxxxxxxx
# Update system packages
sudo apt update
# Install Node.js using NodeSource repository
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
# Verify installation
node -v
npm -v
xxxxxxxxxx
# See for the latest version https://github.com/nodesource/distributions/blob/master/README.md#debinstall
# assuming you have curl installed
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs