add .npmrc: 'npm -g install' will put packages into ~/.node without sudo.