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