This guide installs ERPNext using the Frappe Bench tool on Linux.
Install Frappe Bench with pip3, which is provided by Python.
pip3 install frappe-bench
Initialize a new Bench workspace, switch into it, and download the ERPNext app with the bench CLI.
bench init erpnext-bench
cd erpnext-bench
bench get-app erpnext
Create a new Frappe site (this prompts for DB credentials) and install ERPNext into it.
bench new-site your-site-name
bench install-app erpnext
Start the bench development server (use this only for local testing).
bench start
For production, use the Bench production setup:
This uses the Frappe Bench CLI to configure process management and web server integration for a production deployment.
sudo bench setup production $(whoami)
See ERPNext Configuration for configuration guidance.
Prefer automation? See:
Prefer containers? See ERPNext Docker Setup.
Setting up Erpnext can be complex. We offer consulting services for:
Contact us at office@linux-server-admin.com or visit our contact page.