nodemon
npm install -g nodemon
Shiny Shark
npm install -g nodemon
npm install -g nodemon
npm install --save-dev nodemon
# Install nodemon on your project as dev-dependency
npm install nodemon --save-dev
#or
npm i nodemon --save-dev
#nodemon as -dev cause there is no need nodemon in production
npm i -D nodemon
# Install nodemon on your project as dev-dependency
npm install nodemon --D
# when this command doesn't work:
npm install -g nodemon
# Can try
sudo npm install -g nodemon
#It will then ask you to enter the password you use to log on to your computer.
#So, if you have any problems with this step.
#1. Make sure you are logged in to your computer on an account with admin privileges.
#2. Use sudo in front of the installation command.
#3. Type your password when prompted. Note your password typing will not show. Just hit enter once you've typed it all.
//install globally to your system path.
npm install -g nodemon
//install nodemon as a development dependency:
npm install --save-dev nodemon