Should we stop recommending '-g' in the install instructions?
Issue #15
resolved
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)
-
-
Account Deactivated - changed status to resolved
Close it since the change is landed.
- Log in to comment
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.