how to run nodemon npm in terminal code example Example 1: install nodemon npm install nodemon --save-dev Example 2: nodemon global instal npm npm install -g nodemon