install nodemon globally mac code example Example 1: install nodemon globally npm install -g nodemon Example 2: nodemon npm install -g nodemon