how to activate nodemon code example Example 1: install nodemon npm install nodemon --save-dev Example 2: nodemon node npm install -g nodemon