npm set version of package code example
Example: how to specify version in npm install
// install a specific version of a package.
npm install <package>@<version>
// install a specific version of a package.
npm install <package>@<version>