check what version of node you have 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