Query method: 1. Click the "Start" button to open the "Start" menu; 2. Enter "cmd" in the search box and click the "cmd.exe" program to open the cmd command window; 3. In In the opened cmd command line, use the cd command to enter the nodejs installation directory, and execute the "node -v" command to view the version information.
The operating environment of this tutorial: windows7 system, nodejs version 12.19.0, DELL G3 computer.
1. Open the cmd command window
Click the "Start" button to open " Start" menu; enter "cmd" in the search box and click the "cmd.exe" program
##2. In the opened cmd command line, use the cd command to enter the nodejs installation directory and execute thenode -v command to view the node version number
For more node-related knowledge, please visit:
nodejs tutorial! !
The above is the detailed content of How to query nodejs version using cmd. For more information, please follow other related articles on the PHP Chinese website!