Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

npm
communitycreator

How to find the version of an installed npm package

Gutha Vamsi Krishna

Overview

NPM stands for Node Package Manager. It is a package manager for JavaScript.

In this shot, we'll learn how to find the version of an installed npm package.

The command npm list will list out all the npm packages installed on our machine.

If we provide the package name at the end of the npm list command, we'll get the version of that specific npm package.

Syntax

npm list packagename

Example

In the following example, we will get the version of an installed npm package, gulp.

Terminal 1
Terminal

Explanation

We use the command, npm list gulp, to get the version of gulp.

RELATED TAGS

npm
communitycreator
RELATED COURSES

View all Courses

Keep Exploring