Install the LESS CSS Preprocessor for Drupal

The Less CSS Preprocessor requires installing a LESS engine, but the instructions are confusing.

The LESS Engines documentation page is a little more helpful, except for a missing little twist... Here's how to do it:

Blog Topics:

Install node.js / npm / less on Ubuntu with Plesk

Note: If you need LESS just for Drupal, see Install the LESS CSS Preprocessor for Drupal.

Some posts, like Ubuntu installation directions for fresh web-server recommend something like

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo apt-get install npm
sudo npm install -g less
node –v
npm -v

Subscribe to RSS - LESS