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

To install node.js for LinuxMint Vera (21.1) or Ubuntu, do following
Visit https://github.com/nodesource/distributions#deb

Follow the instructions to install the .deb file on your system at https://github.com/nodesource/distributions#debinstall.

Open a linux terminal window and enter the following:

$ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
<enter>

It will now install node.js on your system.

To enable AutoComplete for node.js refer https://askmeaboutlinux.com/2023/01/23/moving-from-atom-to-visual-studio-code-and-its-extensions-on-linux/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s