How to install nodemon globally on Windows

Check if you have npm and noDe already installed

2. c:> node -v

1. c:> npm -v

Open command prompt and run following commands

Install nodemon globally

c:> npm install -g nodemon

Open command prompt and run following command

In case of "YarN"

c:> yarn global add nodemon

Open command prompt and run following command

Check Nodemon version

c:> nodemon -v

Open command prompt and run following command

Open command prompt and run following command

c:> npm install -g nodemon --save-dev

If you want to install nodemon as development dependency

Open command prompt and run following command

c:> npm install -g --force nodemon

In case of error while installing nodemon, Use --force flag

Now you have installed nodemon successfully in windows 10

Learn how to install Nodemon in Ubuntu

Nodemon in Ubuntu