List which versions of an npm package are installed globally
If you need to list which versions of an npm
package are installed globally on your environment, you can use the npm list
command with the -g
flag.
For example, to find out which versions of handlebars are currently running globally, you would use the following command
$ npm list -g handlebars