HOWTO: Install Node+NPM as user (not root) – if you need to use node.js/npm/grunt/bower and using a shared hosting or can’t/won’t/don’t want to install as root… here’s how you can still get away with it. You’re still going to need something like build-essential
installed, though