dotenv-linter
« Back to VersTracker
Description:
Lightning-fast linter for .env files written in Rust
Type: Formula  |  Latest Version: 4.0.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: linter dotenv rust developer-tools ci-cd
Install: brew install dotenv-linter
About:
dotenv-linter is a static analysis tool that checks .env files for common issues like formatting errors, missing or duplicate keys, and incorrect variable ordering. Written in Rust, it provides extremely fast performance, making it ideal for use in CI/CD pipelines and pre-commit hooks. The tool helps maintain consistency and prevent configuration errors across development teams.
Key Features:
  • Lightning-fast performance due to Rust implementation
  • Zero-configuration and easy to integrate into workflows
  • Checks for formatting, duplication, and key ordering issues
  • Provides actionable suggestions to fix detected problems
Use Cases:
  • Validating .env files in CI/CD pipelines
  • Enforcing consistent environment variable formatting in team projects
  • Pre-commit hooks to catch configuration errors before they are committed
Alternatives:
  • dotenv-linter – dotenv-linter is a standalone, language-agnostic linter focused on speed and CI integration, whereas other solutions may be tied to specific ecosystems or require runtime dependencies.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2024 6:39am 0 VERSION_BUMP 07712add