--save-dev is used to save the package for development purpose. Example: unit tests, minification.. --save is used to save the package required for the application to run.