ERPNext Version 10 has been released ! πŸŽ‰ 🌲 ❄

Try the following steps (though I have not tested):

  1. Create production setup using GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
    sudo python install.py --production
    
  2. Change branch to v9.x.x for both frappe and erpnext repository.
  3. Create a new site using bench new-site <your-site-name>. Don’t use the site created by default.