How to install node.js on Linux Mint or Ubuntu Linux

To install node.js for LinuxMint Vera (21.1) or Ubuntu, do following

Follow the instructions to install the .deb file on your system at

Open a linux terminal window and enter the following:

$ curl -fsSL | sudo -E bash - &&\
sudo apt-get install -y nodejs

It will now install node.js on your system.

To enable AutoComplete for node.js refer