This article describes the Ubuntu 12.04 Server installation Nodejs as well as the upgrade method, Ubuntu installation Nodejs, and the upgraded instance tutorials, need a friend reference under.
Because of the recent intention to study the next Nodejs, the results found that there is no suitable for first in the Nodejs installation and update tutorials
Start at the command line of Ubuntu:
?
Then we need to install NPM, which is the version management tool for Nodejs:
?
Then we use NODE-V can look at the version, if found that the version is very low (up to this blog is v0.12.2), to the official website https://nodejs.org/download/, this page download Linux Binaries (. tar.gz) Version of the compressed package.
Then replace the contents with admin privileges with the default installation directory of Apt-get.
such as the USR folder.
Then execute node-v will find that the version has been updated.
The above is the article to share all the content, I hope you can enjoy.