How to check the version of NodeJS installed

If you want to know what version of node is installed on your system, you can make use of node -v in your command prompt if you are using Windows or in Terminal if you are using the macOS or Linux operating systems.

$ node -v

As you can see when I ran the command on my bash shell, I was able to identify that I have v15.14.0 installed on my System.

Know installed nodejs version
Knowing installed NodeJS version

βœ‹οΈIt may be so that you may have multiple installations of Node on your system. This may show only the version that is set as default in your Environment variable.

It is always better to use nvm - Node Version Manager while working with multiple versions of nodeJS installations.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

πŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.