npm instal save dev code example Example 1: npm install in dev mode npm install packageName --save-dev Example 2: install dependencies npm npm install