Home >Web Front-end >Front-end Q&A >How to check the modules installed by nodejs

How to check the modules installed by nodejs

青灯夜游
青灯夜游Original
2021-09-14 15:18:285541browse

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.

How to check the modules installed by 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

How to check 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!

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
Previous article:What does nodejs mean?Next article:What does nodejs mean?