Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

npm is the package manager for JavaScript and the world’s largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.

Install node.js on Ubuntu 17.10 server

From the terminal run the following command

curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash --

sudo apt-get install -y nodejs

This will install all the dependent packages required to run Node in our system.