Node has a key process.versions that can tell us a lot about itself. Here’s one its many keys, telling me the V8 version of my Node with the -p / --print flag:

node --print process.versions.v8
14.6.202.34-node.28

See node --print process for more.