how to check if node is installed code example

Example 1: check node version

node --version  
//or
node -v

//v12.15.0

Example 2: how to check if you have nodejs installed

Open CMD or Terminal on Visual Studio Code & type node -v. 
You should get something like: v12.10.0

Example 3: find npm version

npm --version

Example 4: how to check node is installed or not

To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v . This should print a version number, so you'll see something like this v0.

Tags:

Misc Example