NodeJS 0.12 on Ubuntu 15.04

First make sure that you have this repo list: edit (create) /etc/apt/sources.list/nodesource.list:

deb utopic main
deb-src utopic main

then run

apt-get install nodejs

if your npm version is <2.7.6, run

npm install npm@2.7.6 -g

This must be done since earlier versions had issues with private repos.

Leave a Reply

You must be logged in to post a comment.