I am trying to use postcss-cli from the commandline. I did the following steps:
cd ~/projects/myProject
sudo npm install --save postcss-cli
and then I am trying the following commands:
postcss --help
node_modules/.bin/postcss --help
But this isn't working for me. I don't even get any error.
Found the answer myself. I just did a new install of nodejs and everything is working fine when I am trying the following command:
node_modules/.bin/postcss --help
This was my solution:
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install --yes nodejs
sudo apt-get install --yes build-essential