Complete Web App Developer Course

  • Admin bar avatar
    Rob Percival
  • 1270 (Registered)
  • (0 Reviews)

Command-line usage

Once installed, you can invoke the compiler from the command-line, as such:

$ lessc styles.less

This will output the compiled CSS to stdout, you may then redirect it to a file of your choice:

$ lessc styles.less > styles.css

To output minified CSS, simply pass the -x option. If you would like more involved minification, the Clean CSS is also available with the --clean-css plugin.

To see all the command line options run lessc without parameters or see Usage.

:: eLearningWP LMS Theme ::

With the best responsive&modern design built on ThimCore and the powerful WordPress LMS - LearnPress, eLearningWP will give you the best experience.