Install bench as a non root user,
git clone https://github.com/frappe/bench bench-repo sudo pip install -e bench-repo
Note: Please do not remove the bench directory the above commands will create
Migrating from existing installation
If want to migrate from ERPNext version 3, follow the instructions here
If want to migrate from the old bench, follow the instructions here
Create a new bench
The init command will create a bench directory with frappe framework installed. It will be setup for periodic backups and auto updates once a day.
bench init frappe-bench && cd frappe-bench
The get-app command gets and installs frappe apps. Examples:
bench get-app erpnext https://github.com/frappe/erpnext
Frappe apps are run by frappe sites and you will have to create at least one site. The new-site command allows you to do that.
bench new-site site1.local
To start using the bench, use the
To login to Frappe / ERPNext, open your browser and go to
The default user name is "Administrator" and password is what you set when you created the new site.
Setting Up ERPNext
To install ERPNext, simply run:
bench install-app erpnext
You can now either use
bench start or setup the bench for production use