Reputation: 39
I know with this(npm -g ls --json) command we will get package name and version. I also need complete path where the package is installed globally
Upvotes: 0
Views: 48
Reputation: 42063
You can use the --long
option which will show extended information including paths.
npm ls -g --json --long
Upvotes: 1