how to check version of node js in cmd

JavaScript
node -v
Source

Also in JavaScript: