Cloud and Self-Hosting

ERPNext Installation Guide: Every Method and Which Version for Your Ubuntu

How to install ERPNext in 2026: bench on Ubuntu, Docker, easy-install, Frappe Cloud or Proxmox. Which ERPNext version runs on Ubuntu 18.04, 20.04, 22.04, 24.04.

By Amjid Ali · · Updated · 4 min read

ERPNext installation guide, methods and versions for Ubuntu Server: SyncBricks cover
In this article
  1. Quick answer: which method should you use?
  2. Which ERPNext version runs on which Ubuntu?
  3. Software stack by version
  4. Method 1: Frappe Bench on Ubuntu (production, full control)
  5. Method 2: Docker (fastest way to try ERPNext)
  6. Method 3: easy-install script (Docker production in one command)
  7. Method 4: Frappe Cloud (hosted)
  8. Method 5: ERPNext on Proxmox, VMware or VirtualBox
  9. Staying on ERPNext 15?
  10. After installation

There are five practical ways to install ERPNext in 2026: a manual Frappe Bench install on Ubuntu 24.04 (best for production you control), Docker with the official frappe_docker files (quickest to try), the bench easy-install script (Docker-based production in one command), Frappe Cloud (hosted, no server to manage) and a Proxmox or other hypervisor VM running one of the first two. For a new system, use ERPNext 16 on Ubuntu 24.04.

I have installed ERPNext every one of these ways for clients and in my own Proxmox homelab since version 12. This page helps you pick the right method and version, then sends you to the step-by-step guide for it.

Quick answer: which method should you use?

You want to Use Guide
Run ERPNext in production on your own server or VPS Frappe Bench on Ubuntu 24.04 Install ERPNext 16 on Ubuntu 24.04
Try it on your laptop in 15 minutes Docker (pwd.yml) ERPNext Docker installation
Keep the database on a separate server Bench with an external MariaDB ERPNext with an external database
Production on Docker with SSL in one command bench easy-install.py see below
No servers at all Frappe Cloud frappe.io/cloud

Which ERPNext version runs on which Ubuntu?

This is the question behind most failed installs: an old guide, a new Ubuntu, or the other way round. Requirements are from the Frappe installation docs.

Ubuntu release ERPNext 16 ERPNext 15 Notes
24.04 LTS Yes (recommended) Yes v16 needs MariaDB 11.8 from the MariaDB repository
22.04 LTS No Yes Python 3.10 and Node 18/20 work for v15
20.04 LTS No Not recommended Out of standard support; last comfortable for v13/v14
18.04 LTS No No End of life; only old v12/v13 guides apply

If you are searching for "install ERPNext on Ubuntu 18.04" because that is what your server runs, the honest answer is to build a new Ubuntu 24.04 server and migrate with a backup. My old Ubuntu 18.04 and Ubuntu 20.04 guides are kept for people maintaining those systems, not for new installs.

Software stack by version

Component ERPNext 16 ERPNext 15
Python 3.14 3.10 to 3.13
Node.js 24 18 or newer
MariaDB 11.8 10.6.6 or newer
Redis 6+ 6+
Yarn 1.22+ 1.12+
Bench installed with uv pip, pipx or uv
wkhtmltopdf 0.12.6 (patched Qt) 0.12.6 (patched Qt)

Method 1: Frappe Bench on Ubuntu (production, full control)

This is how I run client systems. You install the stack yourself, then:

uv tool install frappe-bench
bench init --frappe-branch version-16 frappe-bench
cd frappe-bench
bench new-site erp.example.com
bench get-app --branch version-16 erpnext
bench --site erp.example.com install-app erpnext
sudo env "PATH=$PATH" bench setup production frappe

Those are only the core commands. The full walkthrough with MariaDB 11.8, Node 24, HRMS, Nginx, SSL and troubleshooting is in How to install ERPNext 16 on Ubuntu 24.04.

Pros: full control, easy custom apps, standard bench update upgrades. Cons: you own patching, backups and monitoring.

Method 2: Docker (fastest way to try ERPNext)

The official frappe_docker repository ships a pwd.yml file that starts ERPNext, MariaDB and Redis together:

git clone https://github.com/frappe/frappe_docker
cd frappe_docker
docker compose -f pwd.yml up -d

Open http://localhost:8080 after a few minutes. Windows users should follow my ERPNext Docker on Windows guide, which covers Docker Desktop and the usual errors.

Pros: works on Windows, macOS and Linux in minutes. Cons: pwd.yml is for testing; production Docker needs the compose overrides described in the frappe_docker docs.

Method 3: easy-install script (Docker production in one command)

The Frappe bench repository includes an easy-install.py script that deploys a production Docker stack with Let's Encrypt. From the bench README:

wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py
python3 easy-install.py deploy --email=you@example.com --sitename=erp.example.com --app=erpnext

It needs Docker on the host and DNS for the site name already pointing at the server.

Method 4: Frappe Cloud (hosted)

Frappe Cloud is run by the team that builds ERPNext. You pick a plan and region, and they handle updates, backups and SSL. It suits teams with no Linux admin. Check their site for current pricing.

Method 5: ERPNext on Proxmox, VMware or VirtualBox

There is no current official ERPNext OVA appliance, so older "import the ERPNext OVA" tutorials no longer apply to v15 or v16. What works well:

  1. Create an Ubuntu 24.04 VM (2 to 4 vCPU, 4 to 8 GB RAM, 40 GB disk). My Proxmox VE guide covers VM creation.
  2. Install with Method 1 inside the VM, or install Docker and use Method 2 or 3.
  3. Snapshot the VM before every ERPNext upgrade.

If someone has given you an existing ERPNext appliance as an OVA file, my guide to importing OVA files into Proxmox shows how to bring it in.

Staying on ERPNext 15?

Version 15 still receives fixes (v15.123 shipped in October 2026), so it is reasonable to stay while a custom app catches up. Install it on Ubuntu 24.04 with --frappe-branch version-15, Node 20 and the stock MariaDB 10.11; the differences are listed at the end of the Ubuntu 24.04 guide. On Ubuntu 22.04 see Frappe 15 on Ubuntu 22.04.

Before any upgrade from 15 to 16, take a full backup with files (bench --site yoursite backup --with-files) and test the upgrade on a copy. My ERPNext backup and restore guide shows how to restore that copy on a test server.

After installation

Frequently asked questions

What is the easiest way to install ERPNext?+

To try ERPNext, the easiest way is Docker with the official frappe_docker pwd.yml file: one docker compose command gives you a working ERPNext on port 8080. For a production server you manage yourself, a manual Frappe Bench install on Ubuntu 24.04 gives the most control, and Frappe Cloud is the option with no server work at all.

Can I install ERPNext on Ubuntu 18.04 or 20.04?+

Not for current versions. Ubuntu 18.04 and 20.04 are out of standard support and lack the Python, Node.js and MariaDB versions that ERPNext 15 and 16 need. Older ERPNext releases (v12 to v14) ran there, but for a new system install Ubuntu 24.04 and ERPNext 16.

Which Ubuntu version is best for ERPNext?+

Ubuntu 24.04 LTS. It is the minimum Ubuntu release Frappe documents for version 16 and it also runs version 15. Ubuntu 22.04 can still run ERPNext 15 but not 16.

What are the minimum server requirements for ERPNext?+

Plan on 2 vCPUs, 4 GB RAM and 40 GB of SSD for a small company, and 8 GB RAM if you run HRMS and other apps or have more than about 20 users. The software stack for v16 is Python 3.14, Node.js 24, MariaDB 11.8 and Redis, per the Frappe docs.

Is there an ERPNext OVA or virtual machine image?+

Frappe no longer publishes an official ERPNext virtual appliance for current versions. On Proxmox, VMware or VirtualBox, create an Ubuntu 24.04 VM and install with bench, or run the Docker setup inside a VM or LXC container.

Is ERPNext free to install?+

Yes. ERPNext and the Frappe Framework are open source under the GPL v3 licence, so self-hosting costs only your server. Frappe Cloud is the paid hosted option run by the makers of ERPNext.

Related videos

Video library
  • Cloud and Self-Hosting

    ERPNext Docker Installation Windows and Linux

    · 12:37 · 63.1K views

    Watch on YouTube