Home >Web Front-end >Front-end Q&A >How to check the modules installed by nodejs
How to view the nodejs installation module: 1. Open the cmd command line window and use the cd command to enter the nodejs installation directory; 2. Enter the "npm ls --depth 0" command in the command line and return Just click the car, and the output content is the list of installed modules of nodejs.
The operating environment of this tutorial: windows7 system, nodejs version 14.15.4, DELL G3 computer.
How to check the installed modules of nodejs
1. Open the cmd command line window and use the cd command to enter the nodejs installation directory
2. Enter npm ls --depth 0
in the command line, press Enter, you can view the modules installed by nodejs
Yes It can be seen that the output content is the list of installed modules of nodejs.
[Recommended learning: "nodejs tutorial"]
The above is the detailed content of How to check the modules installed by nodejs. For more information, please follow other related articles on the PHP Chinese website!