Installing node.js and the Less Compiler on Ubuntu

I’m on Ubuntu 13.04 on trying to install the less compiler via NPM was troublesome. I was getting an old version of node (0.6.x) when I needed 0.8+ for using NPM. So when I tried the following:

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
sudo npm install -g less

I had problems. So reading on Chris Lea’s own site I read that I needed to follow that up with:

sudo apt-get update
sudo apt-get -y dist-upgrade

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>