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