nero-env is a CLI tool for validating and comparing .env files against .env.example.
It helps catch missing, empty, and unused environment variables early.
Install globally using npm:
npm install -g nero-envRun in your project directory:
nero-envThis will check for .env and .env.example files in the current directory.
Specify a custom path:
nero-env --path ./apps/api- Missing variables → defined in
.env.examplebut not in.env - Empty values → defined in
.envbut has no value assigned - Unused variables → present in
.envbut not declared in.env.example
Output clearly shows which file needs fixing.
