Install latest Node.js & npm in Ubuntu 14.04, 13.10

Node.js is a platform built on Chrome’s JavaScript run-time for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. npm is a NodeJS package manager that allows you to install node programs. npm now comes pre-packaged with Node.js

Install latest Node.js & npm

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

– Check version

node --version
npm -v

node.js-01

Upgrade npm

sudo npm install -g npm

node.js-02

 
comments powered by Disqus