Automic VaultAutomic Vault

brew

Install djlint with Homebrew, Nix

Lint & Format HTML Templates. Version 1.40.3 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install djlint

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#djlint

nixpkgs package indexes · pkgs/by-name/dj/djlint/package.nix · source: api.github.com

overview

Package summary

Lint & Format HTML Templates

Commands and aliases

  • djlint

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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.
  • Installs with 2 runtime dependencies.

Recommended review

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

local files

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

Config paths the tool may read or write during local use.

Unix
pyproject.tomldjlint.toml.djlint.toml.djlintrc

executables

Installed executables

CommandKindExposureNote
djlintcliglobal 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 version1.40.3
manager updated2026-07-05
local dataok
upstreamnot checked
latest detectednot detected

https://djlint.com

  • infoRelease/tag comparison is only available for GitHub repositories.https://djlint.comnone confidence

install metadata

Package metadata

Package keybrew:djlint
Version1.40.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/djlint
Homepagehttps://djlint.com
Repositoryhttps://github.com/djlint/djLint
Upstream docshttps://djlint.com/docs/configuration
LicenseGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/75/98/fdee72fa3bd20af0ca42c136d076c8a2069cd7303d66cb77c60fc901914f/djlint-1.40.3.tar.gz
Last updated2026-07-05T14:53:00Z
Pulseupdated
Dependencieslibyaml, python@3.14
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 Namedjlint
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%

djlint

nix profile install nixpkgs#djlint
  • normalized package name match
  • Matched by: Djlint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dj/djlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment