list all globally installed modules with one command in ubuntu

The below command will list all your globally installed modules on Linux, Mac, and Windows.

npm ls -g --depth 0

Leave a Comment