Provide an option node-red -v and --version

It reports the Node-RED version, node.js version and os version:

$ node-red --version
Node-RED v4.0.0-beta.4
Node.js v18.18.2
Darwin 20.6.0 x64 LE

The other bits require more of the runtime to get initialised than we'd really want to do for this simple command.

2 Likes