This guide installs Bench and initializes a baseline Frappe environment.
pipyarnsudo apt-get update
sudo apt-get install -y git build-essential python3-dev python3-pip python3-venv redis-server mariadb-server nodejs npm
sudo npm install -g yarn
python3 -m pip install --user frappe-bench
export PATH="$HOME/.local/bin:$PATH"
bench --version
bench init frappe-bench --frappe-branch version-15
cd frappe-bench
bench new-site mysite.local
bench start
Choose the deployment method that fits your infrastructure:
Install Bench directly on the host system with all dependencies managed by Ansible.
Deploy Bench using Docker Compose for isolated, reproducible environments.