How to install exact version npm

In this article let’s discuss about How to install exact version npm. Let’s go through the following methods without any delay.

Method 1:

npm install @

//example
npm install express@3.0.0

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

$ npm install express@4.16.1

+ express@4.16.1
added 48 packages from 36 contributors and audited 121 packages in 2.986s
found 0 vulnerabilities

Hope the above solution works.

Realted Posts : How to find string starts with bash