show all version nodejs code example Example 1: check node version node --version //or node -v //v12.15.0 Example 2: get local node version node --version