Skip to content

How to compile Less file into CSS file ?

Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS) or can run on the server-side and client-side.

How to install Less ?

The easiest way to install Less on the server is via npm,

Step 1 – Download and Install nodejs from
Step 2 –After completing installation Open your command prompt or Terminal and type the command

How to run and compile Less ?

On the command prompt, go to the folder which contains the Less files (for example Style.less) and executes the following command.

Output: You Found new file “styles.css”

One Comment

Leave a Reply

Your email address will not be published.

Share via
Copy link
Powered by Social Snap