Find the version of an installed npm package
@lebyy▲ 0 net votes
Problem: How can I find the version of an installed Node.js or npm package ? This prints the version of npm itself: npm -v <package-name> This prints a cryptic error: npm version <package-name> This prints the package version on the registry (i.e., the latest version… Fix (from the top answer): Use npm list for local packages or npm list -g for globally installed packages. You can find the version of a specific package by passing its name as an argument. For example, npm list grunt will result in: projectName@projectVersion /path/to/project/folder └── grunt@0.4.1 Alternatively, you can just run npm list…