Install Latest version of node.js and npm on Ubuntu 17.10 Server

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.

Check node and npm version details

node -v

v9.4.0

npm -v

5.6.0

Sponsored Link

Related posts

Leave a comment

Your email address will not be published. Required fields are marked *