how to check the version of node js in command prompt code example Example: check node version node --version //or node -v //v12.15.0