Automic VaultAutomic Vault

brew

Install dotenv-linter with Homebrew, apk, Nix

Lightning-fast linter for .env files written in Rust. Version 4.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dotenv-linter

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add dotenv-linter

Alpine Linux edge package indexes · dotenv-linter · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#dotenv-linter

nixpkgs package indexes · pkgs/by-name/do/dotenv-linter/package.nix · source: api.github.com

overview

Package summary

Lightning-fast linter for .env files written in Rust

Commands and aliases

  • dotenv-linter

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020: v1.0.0 was published on GitHub releases.
  • 2020: v2.x releases added to the project during the broader Rust CLI rewrite period.
  • 2021: v3.0.0 was published, reflecting continued maintenance of the Rust implementation.

Related projects

  • dotenv
  • reviewdog
  • pre-commit
  • GitHub Super-Linter

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dotenv-lintercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version4.0.0
manager updated
local dataok
upstreamcurrent
latest detectedv4.0.0

https://github.com/dotenv-linter/dotenv-linter

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dotenv-linter
Version4.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dotenv-linter
Homepagehttps://dotenv-linter.github.io
Repositoryhttps://github.com/dotenv-linter/dotenv-linter
Upstream docshttps://dotenv-linter.github.io/
LicenseMIT
Source archivehttps://github.com/dotenv-linter/dotenv-linter/archive/refs/tags/v4.0.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedotenv-linter
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

dotenv-linter

nix profile install nixpkgs#dotenv-linter
  • normalized package name match
  • Matched by: Dotenv Linter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/dotenv-linter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

dotenv-linter 4.0.0-r0

Lightning-fast linter for .env files

https://dotenv-linter.github.io

sudo apk add dotenv-linter
  • License: MIT
  • Architecture: x86_64
  • Source Package: dotenv-linter
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dotenv Linter
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dotenv-linter from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment