Home >Web Front-end >JS Tutorial >How to check version in nodejs
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.
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
2. In the search results, click "cmd.exe" to open the cmd command window
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:
[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!