npm --save-dev code example
Example 1: redux-devtools-extension npm
npm install --save redux-devtools-extension
Example 2: npm install in dev mode
npm install packageName --save-dev
Example 3: how to install dependencies from package.json
npm install // installs dependencies listed in package.json
Example 4: npm install --save-dev @angular/cli@latest
npm install --save-dev @angular/cli@9.1
Example 5: npm install and add to dependancies
npm i packageName -save