node.js -g installing node modules globally
Jan01

node.js -g installing node modules globally

lately I’ve been ask a lot about node.js -g command and what does it do. It is actually referring to npm -g command which is used to install node.js modules globally, this means that the module is accessible from anywhere in a command line window (CMD) regardless of the current directory we reside in. To install a npm package or node.js module globally we can use the following:   $ npm install -g package-name It is important to...

Read More
%d bloggers like this: