npm install to dev code example Example 1: npm run dev To run the Next dev server... Example 2: npm install dev npm install <package-name> --save-dev