I want to get the version of Node.js on the command line. I\'m expecting to run a command like:
node -version
but that doesn\'t work. Does
If you want to check in command prompt use node -v or node --version
v6.9.5
If u have node.exe then in node you can give.
>process process { title: 'node', version: 'v6.9.5', .......