Node.js
installed via nvm
: follow directions at https://github.com/creationix/nvm, then nvm install 0.10
Install grunt and bower globally npm install -g grunt-cli bower
Node, grunt, bower, npm executables are then in e.g. ~/.nvm/v0.10.35/bin
In IDEA go to Settings -> Languages & Frameworks -> Node.js and NPM and set "Node interpreter" to e.g. /home/jakub/.nvm/v0.10.35/bin/node