node -v checks the globally installed Node.js version. This command directly runs node.js binary installed on system
node -v
npx node -v might use a locally installed version of Node.js. This command runs actually from npm packages
npx node -v