Checking the Node.js Version

You can use the command line tool or terminal to determine the exact version of Node.js installed on your system. For this, execute the "node --version" command, and the Node.js will display its current version. Multiple versions of Node.js might coexist on your system simultaneously. Which version will be executed depends on the order of the paths to the Node.js listed in the Path variable and from which folder you run the command. Additionally, you can check the version of the npm package manager, which typically comes bundled with Node.js, by executing the "npm --version" command. In the Node.js Version Example, we print the Node.js version by executing the "node --version" command. Click Execute to run the Node.js Version Example online and see the result.
Checking the Node.js Version Execute
node --version