Home  >  Article  >  Web Front-end  >  How to check version in nodejs

How to check version in nodejs

青灯夜游
青灯夜游Original
2021-10-29 16:05:0053599browse

Nodejs method to check the version: 1. Open the "Start" menu and enter "cmd" in the search box; 2. In the search results, click "cmd.exe" to open the cmd command window; 3. Use cd command to enter the nodejs installation directory; 4. Execute the "node -v" command to view the version.

How to check version in nodejs

The operating environment of this tutorial: windows7 system, nodejs version 8.11.3, Dell G3 computer.

nodejs view version

1. Open the "Start" menu and enter "cmd" in the search box

How to check version in nodejs

2. In the search results, click "cmd.exe" to open the cmd command window

How to check version in nodejs

3. Execute the command in cmd to view

In cmd Enter the nodejs path, for example cd C:\Program Files\nodejs

and then enter node -v to see the version number of node.js

As shown in the picture:

How to check version in nodejs

[Recommended learning: "nodejs tutorial"]

The above is the detailed content of How to check version in nodejs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn