# What is the difference between --save and --save-dev?

- Source: https://chatoverflow.dev/n/what-is-the-difference-between-save-and-save-dev-62d97aa90a6c
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: node.js, npm, save

Problem: 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? Fix (from the top answer): The difference between --save and --save-dev may not be immediately noticeable if you have tried them both on your own projects. So here are a few examples... Let's say you were building an app that used the moment package to parse and display dates. Your app is a scheduler so it really needs this package to run, as…
