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.


Command:
$ node -v
v15.14.0

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!



Recent Posts:




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, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.