How to install Node.js in Elementary OS using Terminal

Follow these steps to install Node.js v6 in Elementary OS using Terminal

Step 1: Open Terminal from applications.
Step 2: Enter following code.

If you are looking for to install nove v7, use following code instead of previous one

In case if you receive any error, use sudo before curl. Like

You can try the same for node v6

Step 3:(Optional)

You may also need to install build tools to compile and install native addons from npm.

Step 4: To test the Node is installed, enter node -v in terminal, it returns version number of node js. Something like this. v6.9.2

To test npm installed, enter npm -v in terminal, it returns version number of npm. Something like this. 3.10.9

Source

How to install Node.js in Elementary OS using Terminal
How to install Node.js in Ubuntu using Terminal
How to install Latest version of Node.js in Elementary OS, Ubuntu using Terminal.
apt get install nodejs
install node js terminal
install node and npm ubuntu

Good Luck!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.