macOS
brew install dotenv-linterlocal Homebrew formula metadata
brew
Lightning-fast linter for .env files written in Rust. Version 4.0.0 via Homebrew; verified from local package data.
install
brew install dotenv-linterlocal Homebrew formula metadata
sudo apk add dotenv-linterAlpine Linux edge package indexes · dotenv-linter · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dotenv-linternixpkgs package indexes · pkgs/by-name/do/dotenv-linter/package.nix · source: api.github.com
overview
Lightning-fast linter for .env files written in Rust
history
dotenv-linter is a Rust command-line linter for dotenv-style .env files. It occupies a small but practical niche in developer tooling: catching duplicate keys, formatting mistakes, missing values, and other problems in configuration files before an application fails at runtime.
The project reached a public 1.0.0 release on January 1, 2020, and its README presents the Rust rewrite as the fast successor to an earlier dotenv-linter implementation. The official documentation grew around checks, fix mode, diff mode, installation options, and CI integrations rather than a large application framework.
Adoption has mostly followed the package-manager and CI-tooling route. The project documents GitHub Actions, CircleCI, Super-Linter, reviewdog, pre-commit hooks, and package-manager installation paths, which made it easy to add to existing repositories without changing application code.
Developers use dotenv-linter locally or in CI to scan one or more .env files, automatically fix some warnings, or compare .env and .env.example files for missing keys. It is language-agnostic because dotenv files are used across many ecosystems.
For package maintainers, dotenv-linter is a compact example of the modern Rust CLI pattern: a single executable, fast startup, prebuilt install script, Homebrew/Nix/APK packaging, and direct CI integration. Its significance is not broad platform history but the way it packages a tiny quality gate as a reproducible CLI tool.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dotenv-linter | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/dotenv-linter/dotenv-linter
install metadata
| Package key | brew:dotenv-linter |
|---|---|
| Version | 4.0.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dotenv-linter |
| Homepage | https://dotenv-linter.github.io |
| Repository | https://github.com/dotenv-linter/dotenv-linter |
| Upstream docs | https://dotenv-linter.github.io/ |
| License | MIT |
| Source archive | https://github.com/dotenv-linter/dotenv-linter/archive/refs/tags/v4.0.0.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dotenv-linter |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dotenv-linter
nix profile install nixpkgs#dotenv-linterdotenv-linter 4.0.0-r0
Lightning-fast linter for .env files
https://dotenv-linter.github.io
sudo apk add dotenv-lintersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.