
Other option is to install it via a PPA by chris-lea sudo add-apt-repository ppa:chris-lea/node.js To see if it actually upgraded, run: node -v Or just tell it to install the latest stable version. You can tell it to install a specific version like so: sudo n 0.8.11 You can update nodejs by using npm itself, a PPA, or manually.Ĭheck the current version you have: node -v What do I have to do to update npm to the latest version? I also tried using n (as suggested in How can I update my nodeJS to the latest version?) to update, but it affects neither npm nor node: node sudo npm install -g n

It is my understanding that you should be able to update npm using npm install -g npm, but the command has no effect on the npm being used: npm sudo npm install -g npm I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release. I'm having issues with npm in a Vagrant box I'm setting up.
