AKZ AKZ - 1 day ago 5
Node.js Question

NPM command arguments

Sorry I'm newbie in Nodejs and NPM, and I use this command (npm install -g ..) for What I need to install, OK after googled I couldn't figure it out what does -g do in NPM command or basically what does it mean?

rsp rsp
Answer

The -g is short for global. It installs the module globally instead of in the current directory.

See this for more info:

Comments