pkg.soopen package index

brew / rank 3906

Install djlint with Homebrew, Nix

Lint & Format HTML Templates. Version 1.43.2 via Homebrew; verified 2026-08-02. Also installable with nix: nix profile install nixpkgs#djlint.

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 bottle metadata was recorded.

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
djlintexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.43.2
manager updated2026-08-02
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:djlint
Version1.43.2
Package managerHomebrew
Homepagehttps://djlint.com
Repositoryhttps://github.com/djlint/djLint
Last updated2026-08-02T20:58:18Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation