The Set-ExecutionPolicy cmdlet's default execution policy is Restricted for Windows. You can try installing nodemon by setting this policy to Unrestricted.
execute command : Set-ExecutionPolicy Unrestricted
and then try installing nodemon and execute command: nodemon -v