npm version check cmd code example Example 1: check node version node --version //or node -v //v12.15.0 Example 2: find npm version npm --version