We can check local dependencies in the package.json file, but I want to know how to figure out which global packages are installed on my windows machine through npm.
Asked
Active
Viewed 1,624 times
1
Moby Khan
- 4,160
- 3
- 11
- 15
blackdiamond_94
- 21
- 5
1 Answers
4
I'm guessing you want to check globally installed npm modules. You use
npm list -g
to list all globally installed modules, along with their dependencies. If you just want to list the modules, use this command,
npm list -g --depth=0
Spack Jarrow
- 310
- 2
- 9
-
thank you "npm list -g --depth=0" was whatever i want – blackdiamond_94 Sep 19 '20 at 14:06