# dotenv-diff - Validate environment variables in codebases

Original title: Show HN: Dotenv-Diff v3.0.0

> Hacker News story 48823608 · language: en · submitted 2026-07-07
> Web version: https://zeli.app/story/48823608
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [chrillemn](<https://news.ycombinator.com/user?id=chrillemn>) · 💬 0
[original](<https://github.com/Chrilleweb/dotenv-diff>) · [HN discussion](<https://news.ycombinator.com/item?id=48823608>)

## Summary

dotenv-diff is a powerful CLI tool that scans your codebase to detect missing, unused, duplicated, or misused environment variables before they cause runtime errors. It offers first-class support for SvelteKit, Next.js, and Nuxt, while also working seamlessly with Node.js, Vue, and other modern JavaScript/TypeScript frameworks. By integrating into Git hooks and CI/CD pipelines, it ensures teams stay aligned on required variables, reduces the risk of committing sensitive data, and scales effortlessly for monorepos. With features like expiration warnings and framework-specific checks, it helps developers catch configuration issues early in the development lifecycle.

## Key quote

> It helps you catch missing, unused, duplicated, and misused variables early, before they cause runtime errors.

---

## Cite

- Page: https://zeli.app/story/48823608
- Date: 2026-07-07
- Source: github.com (https://github.com/Chrilleweb/dotenv-diff)
- Hacker News: https://news.ycombinator.com/item?id=48823608

## Other languages

- zh: https://zeli.app/zh/story/48823608 · markdown: https://zeli.app/zh/story/48823608.md
- ja: https://zeli.app/ja/story/48823608 · markdown: https://zeli.app/ja/story/48823608.md
- ko: https://zeli.app/ko/story/48823608 · markdown: https://zeli.app/ko/story/48823608.md
- de: https://zeli.app/de/story/48823608 · markdown: https://zeli.app/de/story/48823608.md
- es: https://zeli.app/es/story/48823608 · markdown: https://zeli.app/es/story/48823608.md
