Last active
December 18, 2015 04:59
-
-
Save geoom/5729271 to your computer and use it in GitHub Desktop.
basic commands for using less (tested in debian)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------------------------------------- | |
Install node.js and npm in Debian | |
----------------------------------------- */ | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo apt-get install npm | |
/* ----------------------------------------- | |
Using less | |
----------------------------------------- */ | |
sudo npm install -g less // install less in global way | |
lessc input.less > output.css // compile input.less file to output.css file | |
lessc input.less // compile input.less file and show in std out | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment