There are a variety of languages and compilers for LESS, but I prefer the simplicity of LESSC on Node. It’s easy to install and more current than the LESS gem for Rails.
Installing is easy, simply follow the below steps and you’ll be running in no time.
First we need Node:
sudo apt-get update sudo apt-get install git-core curl build-essential openssl libssl-dev git clone https://github.com/joyent/node.git cd node ./configure make sudo make install node -v
Now let’s get NPM (which we’ll use to install LESS) curl http://npmjs.org/install.sh | sudo sh npm -v
npm install less
lessc LESSFILE.less > CSSFILE.css