Here are some nice out of the box solutions for Windows:
or using common nodejs, here are step-by-step instructions:
- Install node.js (http://nodejs.org/)
- In new command-line, go to node.js installation directory (where node.exe is located), and execute > npm install less (make sure you do so from node.js installation directory only)
- Latter downloads less module for node.js, as well as lessc.cmd to node_modules/.bin/ directory. Add this directory to PATH
- Now, in new command line you may enjoy the use of lessc as usual