Comparison
envsubst vs envtpl vs jinja-cli vs jinja2-cli
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Substitute environment variables in a string
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install envsubstRender jinja2 templates on the command line using shell environment variables
Maintained. Last release 8 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
pip install envtpla command line interface to jinja;
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install jinja-cliThe CLI for Jinja2
Low maintenance activity. Last release 8 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install jinja2-cliIn short
- envsubst looks abandoned: avoid it for new projects.
- jinja-cli looks abandoned: avoid it for new projects.
- jinja2-cli is the most used: 977.4K downloads a month, 7.4× more than envsubst.
- envtpl is better maintained: Pythie’s Index 59 against 35.
Side by side
| Metric | envsubst | envtpl | jinja-cli | jinja2-cli |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | Pythie’s Index: 59 | Pythie’s Index: 12 | Pythie’s Index: 35 |
| Verdict | Likely abandoned | Maintained | Likely abandoned | Low maintenance activity |
| Downloads / month | 131.3K | 58K | 97.9K | 977.4K |
| Downloads, month over month | +18% | -25% | -1% | -1% |
| GitHub stars | 8 | 244 | 34 | 614 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 0 | 2 | 6 |
| Last release | Oct 5, 2019 | Mar 19, 2026 | Dec 25, 2021 | Apr 5, 2026 |
| Releases, 12 months | 0 | 1 | 0 | 3 |
| Weeks with commits | 0 / 26 | 9 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 1 | 7 | 3 | 13 |
| First release | May 2019 | Feb 2014 | Oct 2018 | Jun 2012 |
| Python versions | – | 3.10 – 3.14 | 3.6 – 3.10 | 3.8 – 3.12 |
| License | MIT | GPL-3.0 | GPL-3.0 | BSD-2-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.