DEV Community

ashad nasim
ashad nasim

Posted on

Easy Nodejs installation in Elementry OS (LINUX)

We will be using the distribution source from the Offical Source

If you are using Ubuntu, then just run this command in your terminal

curl -fsSL | sudo -E bash -
sudo apt-get install -y nodejs
Enter fullscreen mode Exit fullscreen mode

It will ask fro your password, provide your password and then press Enter.

After some time it will install nodejs in your system.

To check that nodejs is installed in your system, paste below command into your terminal.

node -v 
Enter fullscreen mode Exit fullscreen mode

If it will give you some number, then your nodejs installation is complete.

node version

Discussion (0)