skillfed

frappe-bench

CLI to manage Multi-tenant deployments for Frappe apps

frappe-bench v5.31.0 660.7K downloads/30d#5,457 on PyPI1,720
Copyleft license GPL-3.0-only Active released

What it is and what it does

Bench is a command-line utility designed to simplify the setup and management of Frappe application deployments. It handles the full lifecycle of Frappe sites—initialization of new benches, creation and installation of apps, site management, and backup operations—across Unix-like systems. The tool is built on top of common Python utilities (click for CLI, gitpython for version control, honcho for process management, jinja2 for templating) and supports both development and production environments. It can work with manual installation or Docker-based containerized setups, and includes an easy-install script for rapid deployment with minimal manual intervention.

Bench is primarily used by developers and operators working with the Frappe framework and applications built on it (such as ERPNext). The tool abstracts away much of the complexity of managing multiple sites and their dependencies, making it easier to maintain consistent environments across development and production. It is actively maintained, production-stable, and has a substantial user base reflected in its download volume and repository activity.

Use it for:

  • Initialize a new development bench and create multiple Frappe sites for local testing and feature development.
  • Deploy and manage production Frappe instances using Docker containers with automated backup scheduling.
  • Install and update custom Frappe applications across multiple sites without manual configuration.
  • Manage site backups and perform version upgrades across a bench with a single command.
  • Set up a complete ERPNext or other Frappe-based application stack using the easy-install script.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Bench is a CLI tool for installing, updating, and managing multiple Frappe application sites on Unix-like systems for both development and production environments.

Yes. Bench is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and low installation friction. It is essential if you work with Frappe applications; optional if you do not. The copyleft license is standard for Frappe ecosystem tools and poses no barrier to use, only to redistribution of modifications.

Install

frappe-bench on PyPI

pip

pip install frappe-bench

uv

uv add frappe-bench

poetry

poetry add frappe-bench

Installing frappe-bench

Before you install

Low friction installation with a stable, actively maintained codebase. Last commit on 2026-08-11 and 1720 repository stars indicate ongoing development. Ten runtime dependencies are all widely-used utilities (click, gitpython, honcho, jinja2, requests, etc.), suggesting a mature dependency chain.

License in practice

Licensed under GPL-3.0-only (copyleft). Any modifications or derivative works must be distributed under the same license; proprietary use of modified versions is not permitted.

Quickstart

pip install frappe-bench
bench --version
bench init my-bench
cd my-bench
bench new-site mysite.local

Requires Python 3.10 or later and Unix-like system (Linux, macOS); Windows is not supported.

Verify before relying

  • Whether Docker is required for all use cases or only for containerized deployment paths.
  • Specific version compatibility with Frappe framework versions beyond the general 'latest stable' reference.
  • Performance or scalability limits when managing large numbers of sites on a single bench instance.

Package facts

License GPL-3.0-only (copyleft)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 10 — click, gitpython, honcho, jinja2, python-crontab, requests, semantic-version, setuptools, tomli, uv
Maintenance actively maintained — 59 days since the last release
Last repo commit
First released
Downloads 660,701/month — #5,457 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: frappe_bench-5.31.0-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Natural Language :: EnglishOperating System :: MacOSOperating System :: OS IndependentTopic :: Software Development :: Build ToolsTopic :: Software Development :: User InterfacesTopic :: System :: Installation/Setup

Tags

frappe site management climulti-tenant deployment toolfrappe app installerbench development environmentfrappe site backup managementfrappe application deploymentunix frappe setup tool
frappe-ecosystemdeployment-automationmulti-tenant-management

More Build Tools packages