list all globally installed modules with one command in ubuntu January 29, 2023 by Tarik The below command will list all your globally installed modules on Linux, Mac, and Windows. npm ls -g --depth 0