pkg.soopen package index

brew / rank 2744

Install jinja2-cli with Homebrew, apk, Nix, apt

CLI for the Jinja2 templating language. Version 1.0.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#jinja2-cli.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jinja2-cli

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add jinja2-cli

Alpine Linux edge package indexes · jinja2-cli · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#jinja2-cli

nixpkgs package indexes · pkgs/by-name/ji/jinja2-cli/package.nix · source: api.github.com

Debian aptverified · 92%
sudo apt install python-jinja2-doc

Debian stable package indexes · python-jinja2-doc · source: deb.debian.org

overview

Package summary

CLI for the Jinja2 templating language

Commands and aliases

  • jinja2

history

Project history and usage

jinja2-cli is a command-line wrapper around the Jinja2 templating engine. It turns Jinja templates plus structured data files or standard input into a Unix-style filter, making Jinja useful outside Python applications for shell scripts, deployment templates, generated config files, and CI jobs.

Project history

The package appeared on PyPI in 2012 as `jinja2-cli`, described as the CLI for Jinja2. Its early releases established the core pattern that still defines the tool: run `jinja2 template.j2 data.json`, or pipe data into `jinja2`, and render with Jinja using JSON and related input formats.

The 0.x release line gradually added and maintained data-format handling and CLI behavior. In 2026 the project reached v1.0.0 after the maintainer returned to the backlog and open pull requests, kept backward compatibility except for dropping Python 2, and pointed users to the expanded docs directory.

Adoption history

The README lists several real-world dependents, including Freedom of the Press Foundation's Dangerzone, Elastic Docker images, and ScyllaDB CloudFormation templates, plus hundreds of GitHub dependents. Its packaging footprint includes PyPI, Homebrew, nixpkgs, AUR, and Alpine, matching its role as a small automation tool used from many operating-system package ecosystems.

How it is used

The tool reads data from files or stdin, supports inline variables with `-D key=value`, allows custom Jinja2 extensions, imports custom filters with `-F`, and exposes Jinja2 environment options. Built-in formats include JSON, INI, ENV, querystring, and TOML on Python versions with standard TOML support, with optional extras for YAML, XML, HJSON, and JSON5.

Why package nerds care

jinja2-cli is significant because it packages a Python template engine in the smallest useful Unix shape: one executable that accepts a template and data. It is the kind of tool that appears in Docker builds, release scripts, Kubernetes and cloud-template generation, and distro package sets because it avoids dragging a bespoke Python application into each repository.

Timeline

  • 2012: PyPI release 0.1.0 introduced the package as a CLI for Jinja2.
  • 2015: The 0.3 and 0.4 releases continued the early Python packaging line.
  • 2017: Version 0.6.0 extended the 0.x series.
  • 2019: Version 0.7.0 continued the tool's use as a small templating CLI.
  • 2022: Version 0.8.2 closed the pre-1.0 release line.
  • 2026: v1.0.0 dropped Python 2 support and refreshed the project after backlog and pull-request review.

Related projects

  • jinja2-cli depends conceptually on Jinja2 from the Pallets project and overlaps with command-line templating tools such as gomplate, envsubst, mustache CLIs, yq/jq pipelines, cookiecutter, and configuration generators used in infrastructure repositories.

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.

executables

Installed executables

CommandKindExposureNote
jinja2executableindexed 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.0.1
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:jinja2-cli
Version1.0.1
Package managerHomebrew
Homepagehttps://github.com/mattrobenolt/jinja2-cli
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%

jinja2-cli

nix profile install nixpkgs#jinja2-cli
  • normalized package name match
  • Matched by: Jinja2 Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ji/jinja2-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

jinja2-cli 1.0.1-r0

CLI for Jinja2

https://github.com/mattrobenolt/jinja2-cli

sudo apk add jinja2-cli
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: jinja2-cli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Jinja2 Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jinja2-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

jinja2-cli-pyc 1.0.1-r0

Precompiled Python bytecode for jinja2-cli

https://github.com/mattrobenolt/jinja2-cli

sudo apk add jinja2-cli-pyc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: jinja2-cli
  • 1 dependencies
  • normalized package name match
  • Matched by: Jinja2 Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jinja2-cli-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Debian apt92%

python-jinja2-doc 3.1.6-1

documentation for the Jinja2 Python library

http://jinja.pocoo.org/

sudo apt install python-jinja2-doc
  • Section: doc
  • Architecture: all
  • Source Package: jinja2
  • 1 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Jinja2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-jinja2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

python3-jinja2 3.1.6-1

small but fast and easy to use stand-alone template engine

http://jinja.pocoo.org/

sudo apt install python3-jinja2
  • Section: python
  • Architecture: all
  • Source Package: jinja2
  • 2 dependencies
  • 2 optional deps
  • installed executable or alias match
  • Matched by: Jinja2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-jinja2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

python-jinja2-doc 3.1.2-1ubuntu1

documentation for the Jinja2 Python library

http://jinja.pocoo.org/

sudo apt install python-jinja2-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: jinja2
  • 1 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Jinja2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python-jinja2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

python3-jinja2 3.1.2-1ubuntu1

small but fast and easy to use stand-alone template engine

http://jinja.pocoo.org/

sudo apt install python3-jinja2
  • Section: python
  • Architecture: all
  • Source Package: jinja2
  • 2 dependencies
  • 3 optional deps
  • installed executable or alias match
  • Matched by: Jinja2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-jinja2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

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 package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation