npm install everything in package.json code example
Example 1: npm install package as developer dependency
npm install --save-dev package
# example:
npm install --save-dev nodemon
Example 2: how to install node_module
ls node_modules
//this command above is typed when you install a new vueJS project and dont have a 'node_modules', then run npm run serve