• Register

Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

0 votes
11 views
What is global installation of dependencies?
in Node.js by

1 Answer

0 votes
Node Package Manager (NPM) globally means packages/dependencies are stored globally in your system. This drops modules in {prefix}/lib/node_modules, and puts executable files in {prefix}/bin, where {prefix} is usually like /usr/local. It also installed in man pages like {prefix}/share/man, if they passed this params.

To installed packages/dependencies Globally in system then execute the following command:-
    $ npm install express -g
by (3.3k points)
...