node install nodemon 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 globally

npm install -g nodemon

Example 3: install nodemon

npm install nodemon --save-dev

Example 4: installing nodemon in windows

npm install --save-dev nodemon

Example 5: nodemon a npm run command

nodemon --exec npm run dev:test