Home  >  Article  >  Web Front-end  >  How to view the nodejs directory from the command line

How to view the nodejs directory from the command line

青灯夜游
青灯夜游Original
2021-12-31 14:30:065370browse

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.

How to view the nodejs directory from the command line

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

How to view the nodejs directory from the command line

2. In the cmd command line window, enter "where node" and press Enter. At this time, the The installation path of nodejs appears

How to view the nodejs directory from the command line

According to the output path, you can enter the nodejs directory

How to view the nodejs directory from the command line

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!

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