npm how to install --dev code example Example 1: npm run dev To run the Next dev server... Example 2: npm install dev npm install --save-dev