Install a node module kind of global on uberspace

Install a node module kind of global on uberspace

Sometimes you need node modules to be installed globally. I had this case recently with casperjs which I wanted to install on uberspace.

To have it available from home you can install it directly into the home directory with the $HOME variable;

$ npm install -g --prefix=$HOME casperjs