/ Published in: Bash
Works on dreamhost VPS (remove the sudos & install in your user directory and it should work fine on shared hosting too).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash mkdir ~/tmp curl http://nodejs.org/dist/node-v0.4.10.tar.gz -O tar -xvf node-v0.4.10.tar.gz cd node-v0.4.10 ./configure --prefix=/usr && make sudo make install curl http://npmjs.org/install.sh | sh npm install less -g