Install NodeJS + LESS


/ Published in: Bash
Save to your folder(s)

Works on dreamhost VPS (remove the sudos & install in your user directory and it should work fine on shared hosting too).


Copy this code and paste it in your HTML
  1. #!/bin/bash
  2. mkdir ~/tmp
  3. curl http://nodejs.org/dist/node-v0.4.10.tar.gz -O
  4. tar -xvf node-v0.4.10.tar.gz
  5. cd node-v0.4.10
  6. ./configure --prefix=/usr && make
  7. sudo make install
  8. curl http://npmjs.org/install.sh | sh
  9. npm install less -g

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.