Let’s start the discussion about npm list packages that are installed globally in following methods.
Lists the installed versions of all dependencies :
npm list npm list -g --depth 0
Lists the latest versions of all dependencies then run :
Lists only the dependencies which are outdated, run :
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to list all global packages in npm