after instaling nodemon server still starts with node code example
Example 1: nodemon package.json start
{
"name": "abc",
"version": "0.0.1",
"description": "my server",
"scripts": {
"start": "nodemon my_file.js" // <=
Example 2: nodemon node
npm install -g nodemon