How to fix "nodemon command not found" error?

In case of Windows, run all commands without sudo

Step1- Verify you have npm and node js Installed

$ sudo node -v

$ sudo npm -v

Step2- List installed global packages and search "nodemon" package

$ sudo npm list -g --depth=0

Step3- If nodemon package not found, then install it globally

$ sudo npm install -g nodemon

Step4- If nodemon package is already installed

$ sudo npm install -g --force nodemon

$ sudo npm uninstall nodemon

Then Remove and reinstall it with --force command

Step5- Check nodemon version

$ sudo nodemon -v

This solves commonly all "nodemon command not found" errors

If you are still facing this issue, check out 4 other reasons and solutions

Read Here