Install NodeJS on Ubuntu Server

#sudo apt-get install python-software-properties python g++ make
#sudo add-apt-repository ppa:chris-lea/node.js
#sudo apt-get update
#sudo apt-get install nodejs
#apt-get install software-properties-common

//comment
//npm is automatically installed with node.js in the latest version of node.

#node --version
#npm --version

//will show the version,upgrade npm use the follow command.

#sudo npm install -g npm

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Protected by WP Anti Spam