macOS
brew install djlintlocal Homebrew formula metadata
brew
Lint & Format HTML Templates. Version 1.40.3 via Homebrew; verified 2026-07-05.
install
brew install djlintlocal Homebrew formula metadata
nix profile install nixpkgs#djlintnixpkgs package indexes · pkgs/by-name/dj/djlint/package.nix · source: api.github.com
overview
Lint & Format HTML Templates
history
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.
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.
local files
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.
Config paths the tool may read or write during local use.
pyproject.tomldjlint.toml.djlint.toml.djlintrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
djlint | 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.
install metadata
| Package key | brew:djlint |
|---|---|
| Version | 1.40.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/djlint |
| Homepage | https://djlint.com |
| Repository | https://github.com/djlint/djLint |
| Upstream docs | https://djlint.com/docs/configuration |
| License | GPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/75/98/fdee72fa3bd20af0ca42c136d076c8a2069cd7303d66cb77c60fc901914f/djlint-1.40.3.tar.gz |
| Last updated | 2026-07-05T14:53:00Z |
| Pulse | updated |
| Dependencies | libyaml, python@3.14 |
| 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 | djlint |
| 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.
djlint
nix profile install nixpkgs#djlintsource 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.