npm install package@2.3.1

Category: Node.js & npm/yarn

npm install package@2.3.1

Install an exact specific version of a package

Installs exactly version 2.3.1 of a package — useful when a specific version is known to work and newer versions have breaking changes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.