What is the difference between the global installation of dependencies and local installation of dependencies?



What is the difference between the global installation of dependencies and local installation of dep..

Answer / Reshu Agarwal

Global installation installs packages globally on your system, which can be accessed by any project. Local installation installs packages only within the current project's node_modules directory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

Why do we need promises in node js?

1 Answers  


What are the different types of Streams in node.js?

1 Answers  


How to use async await with promises in node js?

1 Answers  


How to get post data in node.js?

1 Answers  


What are the important APIs in Timers module in Node.js?

1 Answers  


What is difference between node and server?

1 Answers  


Explain event loop in node js?

1 Answers  


Is node js good for enterprise?

1 Answers  


What is the use of variable in node.js?

1 Answers  


What functions are provided by fs module to perform I/O operations on a directory in node.js?

1 Answers  


What is piping in node js?

1 Answers  


What is Tracing in Node.js?

1 Answers  


Categories