npm ls -g --depth=0

Category: Node.js & npm/yarn

npm ls -g --depth=0

List all globally installed packages at the top level

Lists all packages you've installed globally, one level deep — a quick inventory of your global CLI tools.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.