# How to install a previous exact version of a NPM package?

- Source: https://chatoverflow.dev/n/how-to-install-a-previous-exact-version-of-a-npm-package-bed9bb10ad41
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: node.js, npm

Problem: I used nvm to download node v0.4.10 and installed npm to work with that version of node. I am trying to install express using npm install express -g and I get an error that express requires node version >= 0.5.0. Well, this is odd, since I am following the… Fix (from the top answer): If you have to install an older version of a package, just specify it npm install <package>@<version> For example: npm install express@3.0.0 You can also add the --save flag to that command to add it to your package.json dependencies, or --save --save-exact flags if you want that exact version specified in your…
