
envfix
A tiny .env doctor for Node.js projects
64 followers
A tiny .env doctor for Node.js projects
64 followers
envfix is a zero-dependency CLI for diagnosing and fixing environment configuration problems. It detects missing, empty, extra, and duplicate variables, catches malformed declarations, checks Git safety, generates and syncs example environment files, and works locally or in CI. Run it instantly with npx envfix.







Such a small problem, but one that can waste a ridiculous amount of time 😅 Really like the idea of having a tiny CLI that catches all of this before it turns into a debugging session. Congrats on the launch!
@aamirxv2 Haha exactly — it's never the big architectural problems that eat your morning, it's a missing env var 😅 Thanks a lot!
I keep bouncing between dotenv-cli and direnv for Node projects. Does envfix replace those or sit next to them when you've got more than one .env per app?
@barrettle Sorry for the slow reply! It sits next to them — dotenv-cli/direnv load your env at runtime, envfix never loads anything. It validates the files themselves: drift against .env.example, syntax, duplicates, git safety. Run it in CI or after a pull, keep direnv for loading.
Multiple envs: npx envfix --all auto-discovers every .env*.example pair and checks them in one shot
BetterClaw
Simple tools that solve everyday developer pain points are always welcome—congrats on the launch! 🚀
@better_shaya Thank you! That was exactly the goal — one command, no config, no dependencies. Appreciate the support 🙌