Open In App

Web technologies Questions | Node.js Quiz | Set-1 | Question 4

Like Article
Like
Save
Share
Report

Which of the below command will show all the modules installed locally ?
(A) npm ls -g
(B) npm ls
(C) node ls -g
(D) node ls


Answer: (B)

Explanation: The npm ls command print all the versions of packages that are installed locally in the system, It also displays all the dependencies that are present in the tree structure.

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 30 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads