Depending on how they are listed in your package.json , you must edit the versions for each dependency.
example:
"devDependencies": { "grunt": "*" }
Installing the version on * installs it in the latest version. Read about version dependencies here http://browsenpm.org/package.json
Once you do this, you can inform NPM of the installation of all project dependents.
$ npm install
Tip : if you do not automatically keep your projects dependent on your .json package, you should. Just add --save to the end of your install request. In this way
$ npm install grunt --save
source share