Install Nodejs v6. This will install npm, which will allow to install grunt-cli globally (-g)
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash –
sudo apt-get install -y build-essential
sudo npm install -g grunt-cli
Install Sass. First install Ruby. This will install gem
sudo apt-get install rubygems build-essential
sudo gem install sass
Install Sas-contrib locally on project, i.e /apps/wp
:/apps/wp/npm install grunt-contrib-sas –save-dev
If you get a warning: grunt-contrib-sass requires a peer of grunt
run, npm install grunt –save-dev
To start grunt: go to project folder
grunt
To stop grunt, go back to project folder
Ctrl + c