nodemon in node js code example

Example 1: install nodemon

# Install nodemon
npm install nodemon

# Install nodemon globally on your machine
npm install -g nodemon

# Install nodemon on your project as dev-dependency
npm install nodemon --save-dev

Example 2: install nodemon

npm install nodemon --save-dev

Example 3: nodemon

npm install -g nodemon

Example 4: nodemon a npm run command

nodemon --exec npm run dev:test

Example 5: install nodemon npm

npm install -g nodemon

Example 6: nodemon

sudo install -g nodemon