npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

What does the -S flag mean in a command?

Hi, can you tell me what function has the -S flag in the next command?
npm i -S [package to install]
Thank you.

It’s in this list – a shorthand for --save.

Great thank you very much