Warn on local install through preferGlobal option

See https://www.npmjs.org/doc/files/package.json.html#preferglobal