npm install dependencies and devdependencies code example Example: npm install in dev mode npm install packageName --save-dev