Instantly share code, notes, and snippets.
--prefix オプションを付ければ良い。
--prefix
% npm install -g --prefix=$HOME/opt/node jshint