跳转至

NPM

Node Package Manager (NPM)

  1. How to list global packages?

npm list -g --depth 0. depth 0 shows only the top level package, not the whole tree. It also shows the location of the packages.