get node version code example
Example 1: check node version
node --version
//or
node -v
//v12.15.0
Example 2: how to check if you have nodejs installed
Open CMD or Terminal on Visual Studio Code & type node -v.
You should get something like: v12.10.0
Example 3: find node version
node -v
OR
node --version
Example 4: get local node version
node --version