Check whether NodeJs installation is successful in Windows environment

Check whether NodeJs installation is successful in Windows environment

Testing method

1. Win+R opens the run window and enter the cmd command in this window.

2. Enter the command prompt window and enter the following commands respectively. If the version number is displayed, the installation is successful.

  • node -v: displays the installed nodejs version
  • npm -v: displays the installed npm version

As shown in the picture above, the installation is successful.

My local environment version is a little lower because it was automatically installed when Hongmeng IDE was installed.

Please come to my house often to see me when you have time. Thank you for being here...

My home address: Aden

Finally, I give you a poem:

The mountains are high, the roads are far away and the pits are deep,
and the army is galloping in all directions,

Who dares to stand upright?
Just like and follow the army.

Guess you like

Origin blog.csdn.net/zy0412326/article/details/135288316