Skip to content

DietPi

Minimal Debian-based OS image for single-board computers like Raspberry Pi and Odroid

Copyleft (OSI) · GPL-2.0
  • Self-hosted

Listed by , founder & editor

84

Health

Thriving

Overview

Stars

6,433

Last commit

today

Nov 2026

Repository age

11 years

since Mar 2015

Latest version

v10.9

Nov 2026

Contributors

–

8 active in 90 days

Releases

11

last 12 months

Language

Shell

DietPi is a lightweight operating system built on Debian. It targets single-board computers such as Raspberry Pi, Odroid, PINE64 and NanoPi, and it is tuned to use as little CPU and RAM as possible. Its topics also list RISC-V support.

You manage it with a set of shell tools that use simple whiptail menus. dietpi-software installs preconfigured applications and starts their services. The catalog covers desktop environments, media players, Pi-hole and other DNS servers, file servers, home automation, camera and surveillance tools, web server stacks and emulation. dietpi-config handles device settings, and dietpi-services lets you set nice levels, CPU affinity and scheduler policy per service.

dietpi-update checks for new versions and updates in place, so you do not need to write a new image. You can also automate a full installation without any input by editing dietpi.txt before first boot.

It is not a replacement for a specific commercial product. It is a free option for people who would otherwise run a heavier general-purpose OS on small hardware. It is GPL-2.0 licensed and written mostly in Shell.

Who it's for

Home lab users running services on a Raspberry Pi

One menu installs and configures apps like Pi-hole or file servers while leaving memory free for them.

Skip if: You want a full desktop distribution with a graphical installer and default apps.

People deploying many identical SBCs

A pre-edited dietpi.txt lets each device install itself unattended on first boot.

Skip if: You need a fleet management tool with central control, which DietPi does not provide.

Owners of older or low-memory boards

The minimal Debian base keeps CPU and RAM use low.

Skip if: Your hardware is a powerful x86 server where footprint matters little.

The problem it solves

General-purpose operating systems waste scarce CPU and memory on small single-board computers. Setting up services such as DNS filtering or media servers by hand is also slow. DietPi gives you a minimal base and menu-driven installs of tuned software.

Strengths

  • Debian base, so Debian packages and documentation apply
  • dietpi-software installs and configures ready-to-run apps and starts their services
  • Unattended installs through a dietpi.txt file edited before first boot
  • In-place updates with dietpi-update, no reflashing
  • Supports Raspberry Pi, Odroid, PINE64, NanoPi and more

Trade-offs

  • Terminal menus only; there is no graphical admin interface by default
  • Aimed at SBCs, so it is a poor fit for general desktop use
  • Software choices are limited to the catalog if you want tuned installs

Self-host DietPi

Self-hostable
Yes

Frequently asked questions

Is DietPi free?

Yes. It is open source under the GPL-2.0 license.

Which boards does it run on?

It targets single-board computers including Raspberry Pi, Odroid, PINE64 and NanoPi. Hyper-V and x86_64 UEFI images have also existed.

What is it based on?

It is built on Debian.

Can I automate installation?

Yes. Configure dietpi.txt before powering on and the install runs with no user input.

Similar tools in Operating systems

build

Operating systems

Build framework for Debian and Ubuntu images on ARM single-board computers

5.6k 3.3k today Thriving GPL-2.0

secureblue

Operating systems

Security-hardened Linux desktop and server OS delivered as Fedora Atomic bootable

1.1k 115 today Thriving Apache-2.0

Replaces Windows

Nix-on-Droid

Operating systems

Nix package manager for Android, installed as an app without root

2.2k 173 29 days ago Slowing MIT

StartOS

Operating systems

Linux server OS for running self-hosted services at home, with a web UI and backups

2k 205 today Thriving MIT

river

Operating systems

1.3k 84 5 days ago Thriving Unknown