latest version of node js and check the version code example
Example 1: check node version
node --version
//or
node -v
//v12.15.0
Example 2: find node version
node -v
OR
node --version
node --version
//or
node -v
//v12.15.0
node -v
OR
node --version