DEV Community

Darshan Raval
Darshan Raval

Posted on

4 3 2 2 2

Install Particular Version of Package - NPM

We all know normally Install npm package like this.
$ npm install express

  • express@4.17.1 added 50 packages from 37 contributors and audited 126 packages in 3.262s found 0 vulnerabilities This method install a newer version or latest version of that package. But if we want to install particular version of package then follow it. Synax: npm install [package]@[version]

$ 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

Top comments (2)

Collapse
 
ayushh profile image
Ayush Sharma

Very useful

Collapse
 
darshanraval profile image
Darshan Raval

Thanks 😊

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay