MCQ Practice Single Best Answer Topic: NPM - Package Manager

Q Which of the following commands can be used to install package "lodash" with a specific major version and latest minor and patch versions?

Question ID
#19449
Subchapter
NPM - Package Manager
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A npm install lodash@3.1.1 --save
  • B npm install lodash@3.1 --save
  • C npm install lodash --save
  • D npm install lodash@3 --save
Correct Answer: D

Explanation

npm install lodash@3 --save

Share This Question

Share this MCQ with your friends or study group.