+ 1
Do I have to do npm install to run each project in reactjs. Is it possible that I can install it globally so that there is no ne
Do I have to do npm install to run each project in reactjs. Is it possible that I can install it globally so that there is no need to install it again and again in every project?
2 Answers
+ 6
Yes, you can install any node.js package globally by using -g flag during the installation.
For example: npm i -g react
But, global install also makes all of your projects using the same version of the package.
+ 2
Thank You So Much Amethyst Animion