Tech
Infected

Linux, OpenSource, Programming And Hacks

May 13, 2017

Install latest Node.js version in ubuntu 16.04

May 13, 2017



Node.js is an opensource JavaScript based framework for server-side scripting.


Ubuntu Repository has the older version of node.js

To get the updated version you need to install node.js using the PPA by provided by NodeSource.

for 6.x versions (LTS version)

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

for 7.x versions (current active release)

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

after this the PPA will be added and repository will be updated automatically,

now install the updated node.js version

sudo apt-get install nodejs






No comments:

Post a Comment