Easy Upgrading/Updating Node.js for Ubuntu
Hi! The Tutorial shows you Step-by-Step How to Upgrade/Update Node.js by the NPM Package Manager on Ubuntu 15.10 Wily Werewolf GNU/Linux.
N is a Simple flavour of node/iojs binary management, no subshells, no profile setup, no convoluted api, just simple.
-
Open a Command Line Shell Session
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands) -
Check if npm is Installed
With:which npm
-
Installing n via npm.
npm install -g n
-
Installing the Latest Node.js Release
With the same command you’ll be able also to Switch to this same version…n latest
(With n you’ll be able to Install and Manage multiple node.js Versions).
To List all node.js available Releases:
n ls
Checking the actual node.js version:
node -V
-
For More look at the n Online Documentation