Npm install --production VS npm install

in this manual

in this manual written
npm install --production

but in another manual

npm i (but but it was like - npm install)

what is the difference and how is it correct?

Hi! This is a question more about packages in ubuntu than RC itself.

Basically, there is no difference, since “npm i” is an alias for “npm install”. They both do the exact same thing (install or update all the dependencies in your package-lock.

More info here

1 Like