Single Choice Easy

QWhich of the following commands can be used to install a package as a devDependency?

ID: #19372 Semantic Versioning in npm 96 views
Question Info
#19372Q ID
EasyDifficulty
Semantic Versioning in npmTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A npm install --savedev
  • B npm install --save
  • C npm install --save-dev
  • D npm install --save-cab
Correct Answer

Explanation

To install a package as a devDependency in npm, you can use the following command:


npm install <package name> --save-dev

Share This Question

Challenge a friend or share with your study group.