Skip to main content
Quoting docs to answer what it does.
Source Link
Jaime Gomez
  • 7.1k
  • 3
  • 41
  • 42

The -D flag is the shortcut for: --save-dev. Source: https://docs.npmjs.com/cli/install

-D, --save-dev: Package will appear in your devDependencies.

The -D flag is the shortcut for: --save-dev. Source: https://docs.npmjs.com/cli/install

The -D flag is the shortcut for: --save-dev. Source: https://docs.npmjs.com/cli/install

-D, --save-dev: Package will appear in your devDependencies.

The -D flag is the shortcut for: --save-dev. Source: https://www.npmjs.org/doc/misc/npm-config.htmlhttps://docs.npmjs.com/cli/install

The -D flag is the shortcut for: --save-dev. Source: https://www.npmjs.org/doc/misc/npm-config.html

The -D flag is the shortcut for: --save-dev. Source: https://docs.npmjs.com/cli/install

Source Link
sagunms
  • 8.5k
  • 5
  • 43
  • 43

The -D flag is the shortcut for: --save-dev. Source: https://www.npmjs.org/doc/misc/npm-config.html