How do you find details about a specific npm command?

Experience Level: Junior
Tags: npm

Answer

To find out more about a specific npm command, open the command-line and run the following command:

npm CommandYouAreInterestedIn -h

The parameter -h stands for Help.

Related npm job interview questions
npm for beginners
npm for beginners

Are you learning npm? Try our test we designed to help you progress faster.

Test yourself