Install Node.js on Linux

immortalt

immortalt

Posted on December 3, 2021

Install Node.js on Linux

Using NodeSource

Refer to the NodeSource documentation for more
information on the available versions.

Node.js v14.x:

# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
Enter fullscreen mode Exit fullscreen mode

Upgrade npm

npm install -g npm
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
immortalt
immortalt

Posted on December 3, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Install Node.js on Linux
node Install Node.js on Linux

December 3, 2021