# Installer dotenv-linter avec Homebrew, apk, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dotenv-linter pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:dotenv-linter
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dotenv-linter
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dotenv-linter
```

  Preuve: Alpine Linux edge package indexes: dotenv-linter from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#dotenv-linter
```

  Preuve: nixpkgs package indexes: pkgs/by-name/do/dotenv-linter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:dotenv-linter
- **Gestionnaire de paquets:** Homebrew
- **Version:** 4.0.0
- **Résumé source:** Lightning-fast linter for .env files written in Rust
- **Page d'accueil:** <https://dotenv-linter.github.io>
- **Dépôt:** <https://github.com/dotenv-linter/dotenv-linter>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- dotenv-linter (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 4.0.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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

### Sources

- <https://github.com/dotenv-linter/dotenv-linter>
- <https://dotenv-linter.github.io/>
- <https://api.github.com/repos/dotenv-linter/dotenv-linter/releases?per_page=100>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - dotenv-linter: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/dotenv-linter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dotenv-linter - 4.0.0-r0: normalized package name match | Alpine Linux edge package indexes: dotenv-linter from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Lightning-fast linter for .env files | https://dotenv-linter.github.io


## Combined YAML source

View the package source record on GitHub. [combined/dotenv-linter.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dotenv-linter.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
