By default, the Node.js version is determined by querying semver.io/node/stable.
A different URL can be specified either via
NODE_VERSION_URL environment variable or by setting
.openshift/NODE_VERSION_URL marker in your application repository. For instance, you'd get the latest 0.10.x (0.10.41 as of Jan 24, 2015) by putting this in
NODE_VERSION_URL variable or
If you're using a non-default Node.js version and you're planning to scale the application across multiple gears, you must use the environment variable (learn here why).
By default, the npm version is determined by running
npm view npm version.
A different npm version can be specified either via
NPM_VERSION_URL environment variable or by setting
.openshift/NPM_VERSION_URL marker in your application repository. For instance, you'd get the latest 2.x (2.14.16 as of Jan 24, 2016) by putting this in
NPM_VERSION_URL variable or
See README on GitHub project page.