# djlint を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:djlint
```

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

### macOS

- Homebrew (100%):

```sh
brew install djlint
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#djlint
```

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

## パッケージ情報

- **パッケージキー:** brew:djlint
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.43.2
- **ソース概要:** Lint & Format HTML Templates
- **ホームページ:** <https://djlint.com>
- **リポジトリ:** <https://github.com/djlint/djLint>
- **最終更新:** 2026-08-02T20:58:18Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- djlint (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.43.2
## プロジェクトの歴史と使われ方

djLint is an HTML template linter and formatter for Django, Jinja, Nunjucks, Twig, Handlebars, Mustache, Go templates, Angular, and related template syntaxes. It fills the gap between generic HTML tooling and framework-aware template code that contains tags ordinary HTML formatters do not understand.

### プロジェクトの歴史

The official repository was created in July 2021 and describes djLint as a formatter and linter for HTML templates. The README frames the project as a response to template files being left out while many programming languages already had standard formatters and linters.

The project grew around both formatting and linting modes: users can lint, check formatting, reformat, run pre-commit hooks, and configure behavior through `pyproject.toml`, `djlint.toml`, `.djlint.toml`, or `.djlintrc`. The official docs and README also show multilingual documentation and integrations as part of the public surface.

### 採用の歴史

djLint adoption is visible in its packaging spread: the official README documents PyPI, Homebrew, npm experimental installation, and pre-commit hooks. That mix fits web teams that want the same tool in Python environments, JavaScript-heavy repositories, and system package managers.

The official release metadata shows continued activity through the mid-2020s, including the 1.36 series in 2024 and the 1.39 series in 2026. The project also advertises downloads and community links from the README, signaling that it had moved beyond a one-off formatter experiment.

### 使われ方

Typical use is `djlint . --lint`, `djlint . --check`, or `djlint . --reformat`, often with an explicit template extension such as `html.j2`. Teams put options in project config files and use pre-commit hooks for automatic reformatting and lint checks.

### パッケージ好きにとっての重要性

djLint matters to package nerds because it packages a messy cross-template problem into one CLI while still fitting Python, npm, Homebrew, and pre-commit ecosystems. It also sits next to smaller tools like DjHTML, making the template-formatting space unusually visible in package-manager catalogs.

### タイムライン

- 2021-07-12: Official GitHub repository created.
- 2024-12-24: v1.36.4 release published.
- 2026-06-04: v1.37.0 and v1.38.0 releases published.
- 2026-06-30: v1.39.6 release published.

### Related projects

- Related projects include DjHTML for indentation-only Django and Jinja templates, HTMLHint for HTML linting, curlylint for template linting, Black as a formatting-culture reference point, and pre-commit for hook-based adoption.

### ソース

- <https://github.com/djlint/djLint>
- <https://raw.githubusercontent.com/djlint/djLint/master/README.md>
- <https://djlint.com/docs/getting-started/>
- <https://djlint.com/docs/configuration/>
- <https://api.github.com/repos/djlint/djLint>
- <https://api.github.com/repos/djlint/djLint/releases?per_page=12>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: pyproject.toml, djlint.toml, .djlint.toml, .djlintrc
## 他のパッケージマネージャ記録

- Nix - djlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/dj/djlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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