declare env in json file nodemon code example Example: nodemon.json env { "env": { "USER": "remy", "PORT": "8000", "ETC": "etc" } }