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!


















Copyright Β© Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap