On Ubuntu 12.04 x 64...
npm -g install hiredis redis
Installs fine and npm ls shows those modules, but only when I'm in node source directory
does not show when I'm in any other directory
For kicks, tried running the command while in that other directory- still no dice :(
They are installing globally, but you cannot see them with
npm ls, in other directories. Because
npm ls only shows local modules. If you want to list global modules you have to type:
npm ls -g.