in Linux nodejs Ubuntu ~ read.
Installing Node.js on Ubuntu 14.04

Installing Node.js on Ubuntu 14.04


Node.js is a Javascript platform for server-side programming that allows users to build network and web applications quickly. By leveraging Javascript on both the front-end and the back-end, development can be more consistent and be designed within the same system.

In this guide, we’ll show you how to install Node.js on an Ubuntu 14.04 server.

Installing Nodejs

Ubuntu 14.04 contains a version of Node.js in its default repositories that can be used to easily provide a consistent experience across multiple servers. The version in the repositories is 0.10. This will not be the latest version, but it should be quite stable. To install nodejs, you just have to use APT:

Installing Node.js in default Debian / Ubuntu package

# update 
sudo apt-get update  
# Then install nodejs with: 
sudo apt-get install nodejs  
# Finally install npm: 
sudo apt-get install npm  

Installing the latest version Node.js with v0.12 using nodesource repository

# Note the new setup script name for Node.js v0.12 
curl -sL | sudo bash -  
# Then install with: 
sudo apt-get install -y nodejs  


# Node 
[email protected]:~$ node -v  
[email protected]:~$ npm -v  

We have done install nodejs in ubuntu 14.04.

comments powered by Disqus