jinja2-cli
« Back to VersTracker
Description:
CLI for the Jinja2 templating language
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: templating jinja2 cli devops automation
Install: brew install jinja2-cli
About:
jinja2-cli is a command-line interface for the Jinja2 templating engine. It allows users to render templates directly from the terminal using context data from JSON, YAML, or environment variables. This tool is invaluable for generating configuration files, dynamic scripts, and automated reports without writing Python code.
Key Features:
  • Supports multiple data formats (JSON, YAML, environment variables)
  • Direct command-line rendering of Jinja2 templates
  • Includes support for Jinja2 extensions and custom filters
  • Lightweight and easy to integrate into shell scripts
Use Cases:
  • Generating configuration files (e.g., Nginx, Docker) from templates
  • Injecting secrets or environment variables into scripts at runtime
  • Automating the creation of documentation or reports
Alternatives:
  • envsubst – Part of gettext; simpler but only handles environment variables and lacks Jinja2 logic (loops/conditionals).
  • gomplate – A Go-based template renderer; supports more data sources natively but is a larger binary.
Version History
Detected Version Rev Change Commit
Jan 8, 2026 7:10pm 0 REVISION_ONLY 1d19ee5d
Sep 12, 2025 12:24pm 3 VERSION_BUMP 8c2b2eed
Dec 28, 2024 10:48am 2 VERSION_BUMP 29e6992b
Oct 12, 2024 11:35am 1 VERSION_BUMP 38a00d3e