How is use of npm to install global packages that don't even get used in Node applications justified?
问题 My knowledge of npm is this: It is a package manager for Node.js applications. What this means is that when you need someone else's library/package for your node application you can conveniently use npm to get those dependencies. But I recently came across this command: npm install -g cca . Then I enter cca in my terminal and now it starts some program. Now my question is how can npm install packages that can be accessed via the terminal? I mean all packages installed by npm should be