How to check if the certain npm module is globally installed on my machine?
By Emma Terry •
How to check if the some needfull npm module is globally installed on my machine,and if so, what is the version ?
1 Answer
To check which modules of nodejs or node (snap package) are installed globally run this command:
npm -g ls To check if a node module (example unique-string module) is installed globally run this command:
npm -g ls | grep unique-string Results:
│ │ ├─┬ unique-string@1.0.05