You can add nvm command to package.json file
"scripts": { "preinstall": "nvm install 0.12.1", "prestart": "nvm use 0.12.1", "start": "node ./file1.js" },
Also install the desired version in package.json, so continuous integration services will know which version you want to use.
{ "name": "naive", "description": "A package using naive versioning", "author": "A confused individual < iam@confused.com >", "dependencies": { "express": ">= 1.2.0", "optimist": ">= 0.1.0" }, "engine": "node 0.4.1" }
source share