Should we stop recommending '-g' in the install instructions?

Issue #15 resolved
Jesse G created an issue

It seems to me that '-g' isn't a good practice for NPM packages in general. Having a global install does not shield individual applications from possibly-untested changes. In a production/enterprise environment, I would expect an application to test with a specific version of all modules and then contain all said modules in its own directory structure.

Comments (2)

  1. Aaron Bartell

    The -g is usually used for CLI tooling (i.e. pm2, Angular, etc). I rarely use -g.

    I'd vote to remove -g from the install instructions on the README.md.

  2. Log in to comment