What is the difference between --save and --save-dev?
Asked 07 September, 2021
Viewed 3K times
  • 57
Votes

What is the difference between:

npm install [package_name]

and:

npm install [package_name] --save

and:

npm install [package_name] --save-dev

What does this mean? And what is really the effect of --save and -dev keywords?

17 Answer