bash nodemon command not found on windows code example
Example 1: nodemon command not found linux
sudo npm install nodemon -g
Example 2: nodemon command not found
npx nodemon server.js
or add in package.json config:
...
"scripts": {
"dev": "npx nodemon server.js"
},
...
then run:
npm run dev