In a Command prompt, enter the following:
npm install -g less
…WebContent\common\css>lessc main.less main.css