use different npm version code example Example: npm install different version npm install [package]@[version]