Home >Web Front-end >JS Tutorial >How to view the nodejs directory from the command line
How to view the nodejs directory from the command line: 1. Use the "win r" key combination to open the "Run" window; 2. In the "Run" window, output "cmd", click "OK" to open cmd Command line window; 3. In the cmd command line window, execute the "where node" command to display the directory path of the node.
The operating environment of this tutorial: windows7 system, nodejs version 12.19.0, DELL G3 computer.
How to view the nodejs directory from the command line
1. Use the "win r" key combination to open the run window, output "cmd" and click " OK", open the cmd command line window
2. In the cmd command line window, enter "where node
" and press Enter. At this time, the The installation path of nodejs appears
According to the output path, you can enter the nodejs directory
More node-related knowledge , please visit: nodejs tutorial! !
The above is the detailed content of How to view the nodejs directory from the command line. For more information, please follow other related articles on the PHP Chinese website!