How-to Update-Upgrade Node.js via NPM on Ubuntu 14.04 Trusty LTS 32-64bit Linux+GNU

September 29th, 2015 by thelinuxevangelist

Easy Upgrading/Updating Node.js for Ubuntu Linux

The Linux Tutorial Shows You Step-by-Step How-to Upgrade/Update Node.js by the NPM Package Manager on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 GNU/Linux.

N is a Simple flavour of node/iojs binary management, no subshells, no profile setup, no convoluted api, just simple.

Node.js Update/Upgrade for Ubuntu 14.04 Trusty LTS Linux - Featured
  1. Open a Command Line Shell Session
    Ctr+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Upgrading/Updating Node.js on Ubuntu Linux - Featured
  2. Check if npm is Installed

    which npm
  3. Installing n via npm

    npm install -g n
  4. 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
  5. For More look at the n Online Documentation:

    n Virtualenv Online Docs
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , , , , , , ,

Comments are disabled