how to know node js version in cmd code example Example: check node version node --version //or node -v //v12.15.0