Let’s start the discussion about How to list all global packages in npm in following methods. The below command lists all global packages installed in npm.
npm list -g --depth 0
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to check CentOS version