Saturday, July 9, 2016

How to Install Latest Nodejs 6.3.0 & Npm on Ubuntu

   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.


Node v6.3.0 (Current) changelog

  • Added buffer.swap64() to complement swap16() & swap32().
  • New configure options have been added for building Node.js as a shared library. 
  • The options are: --shared, --without-v8-platform & --without-bundled-v8.
  • Root certificates have been updated.
  • The server address is now configurable via --debug=<address>:<port>.
  • Upgraded npm to v3.10.3
  • Added the prompt option to the readline constructor.
  • sigint/ctrl+c will now break out of infinite loops without stopping the Node.js instance.
  • Added a node::FreeEnvironment public C++ API.
  • Refactored require('constants'), constants are now available directly from their  respective modules.
  • See changelog for more

Installation instructions: 
 
We can add this PPA to Ubuntu 16.04, 14.04 LTS and 12.04 LTS Systems and install node.js with few easy commands.

Open terminal and insert command line...


$ sudo apt-get install python-software-properties

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

$ sudo apt-get install nodejs


Check Node.js and NPM Version 

$ node -v

$ npm -v






4 comments:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer Node js Training in Chennai . learn from or Javascript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai

    ReplyDelete
  2. It is really a great source of information. We can all contribute and benefit from reading and gaining knowledge from this content, simply an incredible experience Thank you for sharing such great information.
    Node JS Online training
    Node JS training in Hyderabad

    ReplyDelete