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 :
npm view
Lists only the dependencies which are outdated, run :
npm outdated
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