Added -g flag to install intructions

If preferGlobal is set in package.json, add -g flag to install instructions