How to Install Node.js and npm on Ubuntu 18.04

Node JS is an open-source javascript run-time environment that allows server-side execution o javascript. Anyways, I’m not going to describe everything about Node JS. But, You will be able to learn how to install node and npm on ubuntu installed VPS. Without much talk, let’ start the installation and run the following command one by one.

curl -sL | sudo -E bash -
sudo apt install nodejs
node --version
npm --version

That’s all, you will be able to see the version you installed. If you got any issues, please let me know in the comment section.