Tutorials
Installing Nodejs

Installing Node.JS

Node.JS (opens in a new tab) is an open-source JavaScript runtime environment for building server-side and networking applications. It can run on Linux, macOS, FreeBSD, and Windows.

Requirements

  • VPS
  • 1GB RAM
  • Must have root access

Installing necesary packages

sudo apt -y install curl

Choosing the Node.JS Version

💡

Here you can choose the Node.JS Version that you need, please before continuing choose the correct one.

curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh && sudo bash nodesource_setup.sh && sudo apt -y install nodejs

So what's next?

Once, you're done do this command, if it shows your node.js version that you wanted, you're done.

node -v
Output
v14.x.x