Skip to content

Instantly share code, notes, and snippets.

@daveenguyen
Created September 28, 2015 08:32
Show Gist options
  • Save daveenguyen/c3d722c4fce28048e1b3 to your computer and use it in GitHub Desktop.
Save daveenguyen/c3d722c4fce28048e1b3 to your computer and use it in GitHub Desktop.
List globally installed npm packages

Source: http://ponderingdeveloper.com/2013/09/03/listing-globally-installed-npm-packages-and-version/

I have found myself constantly asking, "Okay, so what npm packages do I have globally installed on this machine again? And what version are they?".

So, instead of Goggling for the answer each and every time. I’m going to put it here. For my own convenience and maybe it will be useful for someone else.

npm list -g --depth=0

The result will look something like this:

C:\Users\paul.redman\AppData\Roaming\npm
├── bower@1.2.5
├── generator-angular@0.4.0
├── generator-karma@0.5.0
├── grunt-cli@0.1.9
├── jake@0.5.18
├── jshint@0.9.1
├── karma@0.8.7
├── nodeunit@0.7.4
└── yo@1.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment