How to easy install old version of frappe and erpnext

Hi friends,
Can anyone give steps to easy install older versions of frappe and erpnext?
How to mention version while doing easy install?

You can adjust

  • “production”
    • [production/development],
  • “frappe”
    • [the username you want to use (you need to create this user before you run the commands)],
  • “10.x.x”
    • [the version you want to use] to whichever version you prefer

sudo python --production --user frappe --frappe-branch v10.x.x --erpnext-branch v10.x.x


python3: can't open file '/home/frappe/': [Errno 2] No such file or directory
Someone know how to deal with this problem.