here is the issue open in git
https://github.com/NodeBB/NodeBB/issues/9125
please request to check cluster support before launching update.
Is there a way programmatically to retrieve the current, running, NodeBB version number?
Thank you.
var packageData = require('./package.json');
console.log(packageData.version);
Thank you @baris . Your tip didn't get me precisely what I needed but it got me on the right path. This is what I was looking for: config.version