What is g in npm install?



What is g in npm install?..

Answer / Reeta Verma

'g' in npm install stands for 'global'. It installs a package globally, meaning it will be available across all projects and user directories.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

Explain repl in the context of node.js.

1 Answers  


Explain the concept of stub in node.js.

1 Answers  


What is a control flow function? What are the steps does it execute?

1 Answers  


What is the use of method – “spawn()”?

1 Answers  


Differentiate between process.nexttick() and setimmediate()?

1 Answers  


How can we handle blocking I/O operations in Node.js?

1 Answers  


Are browsers single threaded?

1 Answers  


What are Global objects in Node.js?

1 Answers  


How to get post data in node.js?

1 Answers  


What is repl in context of node?

1 Answers  


Does node.js use ajax?

1 Answers  


What is asynchronous code?

1 Answers  


Categories