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. 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
  2. Very nice post here thanks for it I always like and search such topics and everything connected to them.Excellent and very cool idea and the subject at the top of magnificence and I am happy to comment on this topic through which we address the idea of positive re like this.

    Msbi Online Training India
    msbi developer course

    ReplyDelete
  3. nice information thanks for sharing this article very useful for me ................!
    msbi course training

    ReplyDelete