# dotenv-linter を Homebrew, apk, Nix でインストール

dotenv-linter のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:dotenv-linter
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dotenv-linter>
- **バージョン:** 4.0.0
- **ソース概要:** Lightning-fast linter for .env files written in Rust
- **ホームページ:** <https://dotenv-linter.github.io>
- **リポジトリ:** <https://github.com/dotenv-linter/dotenv-linter>
- **上流ドキュメント:** <https://dotenv-linter.github.io>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/dotenv-linter/dotenv-linter/archive/refs/tags/v4.0.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- dotenv-linter (cli)
- dotenv-linter (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.0.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dotenv-linter/dotenv-linter
- 検出された最新: v4.0.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [ruff](https://pkg.so/ja/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, rust, static-analysis.
- [lychee](https://pkg.so/ja/brew/lychee/) - Shares pkgdb curated category or tags: cli, developer-tools, quality-assurance, rust.
- [selene](https://pkg.so/ja/brew/selene/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, rust, static-analysis.
- [cargo-spellcheck](https://pkg.so/ja/brew/cargo-spellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, quality-assurance, rust.
- [droast](https://pkg.so/ja/brew/droast/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, rust, static-analysis.
- [statix](https://pkg.so/ja/brew/statix/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, rust, static-analysis.
- [swiftlint](https://pkg.so/ja/brew/swiftlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.
- [eslint](https://pkg.so/ja/brew/eslint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, static-analysis.

## 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)


## ソース

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