Answer the question
In order to leave comments, you need to log in
What is the difference between global and local installation like electron?
Electron can be installed via npm globally or in the directory you will be working in, what's the difference? With local, files are added to the folder, but what does the global installation give? Here I install globally, what's next? What gives? How to use?
Answer the question
In order to leave comments, you need to log in
Global - installation in the system. For example, Noda and npm must be global so that they can be accessed from anywhere in the OS. At the same time, various libraries for working on a specific project must be installed locally, because you do not need them outside the project. But Galp or Webpack can be installed globally, again, so as not to drag them into the project every time. Just check back for updates from time to time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question