npm nodemon global code example Example 1: install nodemon globally npm install -g nodemon Example 2: install nodemon npm install nodemon --save-dev