# Install minijinja-cli with Homebrew, apk

Render Jinja2 templates directly from the command-line to stdout. Version 2.21.0 via Homebrew; verified 2026-06-17. Also installable with apk: sudo apk add minijinja-cli.

## Install

```sh
sudo av install brew:minijinja-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install minijinja-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add minijinja-cli
```

  Evidence: Alpine Linux edge package indexes: minijinja-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## Package facts

- **Package key:** brew:minijinja-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/minijinja-cli>
- **Version:** 2.21.0
- **Source summary:** Render Jinja2 templates directly from the command-line to stdout
- **Homepage:** <https://docs.rs/minijinja/latest/minijinja/>
- **Repository:** <https://github.com/mitsuhiko/minijinja>
- **Upstream docs:** <https://docs.rs/crate/minijinja-cli>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/mitsuhiko/minijinja/archive/refs/tags/2.21.0.tar.gz>
- **Last updated:** 2026-06-17T16:19:07Z
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- minijinja-cli (cli)
- minijinja-cli (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 2.21.0
- Package-manager updated: 2026-06-17
- Local data: ok
- Upstream repository: https://github.com/mitsuhiko/minijinja
- Upstream latest detected: 2.21.0 (current)
## Project history and usage

MiniJinja is Armin Ronacher's Rust reimplementation of the Jinja2 template language he originally created for Python. Ronacher described the project as emerging from an infrastructure-automation experiment where Rust needed dynamically loaded Jinja-style templates without the heavier dependency profile or compile-time model of alternatives such as Askama. The library deliberately follows Jinja2 syntax and behavior so existing templates, editor integrations, and mental models remain useful in Rust programs.

### How it is used

The CLI packages that engine as a small command-line renderer: templates can be read from files or standard input, data can be supplied on the command line, and rendered output is written to stdout. In package-manager terms, minijinja-cli is the executable companion to the minijinja crate rather than a separate templating ecosystem. Its niche is scripting, config generation, release automation, and other places where users want Jinja-compatible text generation without embedding Python.

### Sources

- <https://crates.io/crates/minijinja-cli>
- <https://docs.rs/crate/minijinja-cli/latest>
- <https://github.com/mitsuhiko/minijinja>
- <https://lucumr.pocoo.org/2024/8/27/minijinja/>


## Security Notes

No matching local secret-handling manifest was found for minijinja-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** minijinja-cli
- **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:** head, stable

## Other Package-Manager Records

- apk - minijinja-cli - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: minijinja-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI using MiniJinja to render Jinja2 templates from the command line to stdout | https://docs.rs/minijinja/latest/minijinja/
- apk - minijinja-cli-bash-completion - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: minijinja-cli-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for minijinja-cli | https://docs.rs/minijinja/latest/minijinja/
- apk - minijinja-cli-doc - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: minijinja-cli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI using MiniJinja to render Jinja2 templates from the command line to stdout (documentation) | https://docs.rs/minijinja/latest/minijinja/
- apk - minijinja-cli-fish-completion - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: minijinja-cli-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for minijinja-cli | https://docs.rs/minijinja/latest/minijinja/
- apk - minijinja-cli-zsh-completion - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: minijinja-cli-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for minijinja-cli | https://docs.rs/minijinja/latest/minijinja/
- apk - py3-minijinja - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: py3-minijinja from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Python bindings for MiniJinja, a template engine compatible with Jinja/Jinja2 | https://docs.rs/minijinja/latest/minijinja/
- apk - py3-minijinja-pyc - 2.20.0-r0: normalized package name match | Alpine Linux edge package indexes: py3-minijinja-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-minijinja | https://docs.rs/minijinja/latest/minijinja/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [ctemplate](https://www.automicvault.com/pkg/brew/ctemplate/) - Shares av.db curated category or tags: cli, developer-tools, templating.
- [clpbar](https://www.automicvault.com/pkg/brew/clpbar/) - Shares av.db curated category or tags: cli, command-line-tools, developer-tools.
- [action-validator](https://www.automicvault.com/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [add-determinism](https://www.automicvault.com/pkg/brew/add-determinism/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [adrs](https://www.automicvault.com/pkg/brew/adrs/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [air](https://www.automicvault.com/pkg/brew/air/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [argc](https://www.automicvault.com/pkg/brew/argc/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [as-tree](https://www.automicvault.com/pkg/brew/as-tree/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [nunjucks](https://www.automicvault.com/pkg/npm/nunjucks/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, jinja, jinja2.
- [languagetool-rust](https://www.automicvault.com/pkg/brew/languagetool-rust/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, rust.
- [sarif-fmt](https://www.automicvault.com/pkg/brew/sarif-fmt/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, rust.

## Combined YAML source

View the package source record on GitHub. [combined/minijinja-cli.yml](https://github.com/automic-vault/db/blob/main/combined/minijinja-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
