How to install nodejs on linux

Nodejs is an open source JavaScript runtime without a dom model nodejs can be used to create web servers api's  and command line applications among others its important to note nodejs is increasing popularity due to its simplicity , speed and developer friendliness i.e frontend developers once limited to using JavaScript in the browser can now create server side backend applications.

in your terminal execute the command below to add node js repository.
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

update apt packages list
sudo apt apt update && upgrade

install latest nodejs
sudo apt install nodejs

Comments

Popular posts from this blog

How to make a Snake Game using JavaScript and html5

FlappingBird Postmortem (JS13K)

How to make a html5 breakout game in JavaScript

Zedplug will be decommissioned on November 30th

How to tabulate array key values using console.table