The Raspberry Pi has sold more than 31 million units since it launched in 2012. Any Raspberry Pi can serve as a secondary computer for email and web surfing. The real fun starts when you use your Pi for projects, which can range from robots to retro arcade machines to home media servers, security cameras and so on.
You can install DietPi by following the step by step Starting guide.
DietPi runs on the full range of Raspberry Pi boards and computers. This includes the newly launched Raspberry Pi 400,
or the most recent Raspberry Pi 4 Model B boards, launched in 2019, as well as in 2020.
DietPi runs also on one of the first models Raspberry Pi 1, launched in 2012
and even on the compact form Raspberry Pi Zero, both Zero W / WH and Zero 2 W
New Zero quick intro:
|Raspberry Pi - ALL models|
Single board computer (SBC)
Compute Module (CM)
|DietPi image for ALL Raspberry Pi models: Download image|
|Raspberry Pi - ARMv7|
Single board computer (SBC)
Compute Module (CM)
|DietPi image for Raspberry Pi with ARMv7 CPU or above: Download image|
|Raspberry Pi - ARMv8|
Single board computer (SBC)
Compute Module (CM)
|DietPi image for Raspberry Pi with ARMv8/64-bit CPU: Download image|
ODROID single board computers are powerful, stable, and fast performing. They can function as a home theater set-top box, a general purpose computer for web browsing, gaming and socializing, a compact tool for college or office work, a prototyping device for hardware tinkering, a controller for home automation, a workstation for software development, and much more. For more details visit Hardkernel.com
ODROID-N2 is one of the supported boards.
It is a new generation single-board computer based on the Amlogic S922X SoC and the fastest we measured until time of writing. The main CPU of the N2 consists of a big.LITTLE quad-core Cortex-A73 + dual-core Cortex-A53 combination. Thanks to the modern 12nm silicon technology, the A73 cores run at up to 1.8 GHz (N2) respectively 2.4 GHz (N2+) without thermal throttling using the stock metal-housing heat sink allowing a robust and quiet computer.
|Odroid C1||Download: DietPi image|
|Odroid C2||Download: DietPi image|
|Odroid C4 / HC4||Download: DietPi image|
|Odroid N2||Download: DietPi image|
|Odroid XU3 / XU4 / MC1 / HC1 / HC2||Download: DietPi image|
This is where PINE64 journey began. The PINE A64 is their first Single Board Computer powered by Allwinner’s A64 Quad-Core ARM Cortex A53 64-Bit SOC. For more details visit PINE64.org
The ROCKPro64 is the most powerful single board computer offered by PINE64.
It features a Rockchip RK3399 hexa-core SOC and up-to 4 GiB of dual-channel LPDDR4 system memory. Moreover, the board comes packed with features, including: an USB 3.0 and USB type C with DP1.2 port, a full PCIe x4 as well as eMMC module socket. You also get a 40pin header with I2C, SPI, UART and GPIO.
The board is backwards compatible with many of the existing PINE64 peripherals, including the WiFi/Bluetooth module, camera module and LCD panel but an array of new peripherals specific for the board is also available. All this in the exact same model “A” dimension as the original PINE A64.
The ROCKPro64 4 GiB board is designated as LTS (Long-term support) which means that PINE64 is committed to provide support for at least 5 years – until year 2023 and beyond.
|PINE A64||Download: DietPi image|
|PINE H64||Download: DietPi image|
|Pinebook||Download: DietPi image|
|Pinebook Pro||Download: DietPi image|
|ROCK64||Download: DietPi image|
|ROCKPro64||Download: DietPi image|
Maker Friendly, IoT connectivity enabled.
Radxa ROCK Pi and Radxa Zero features maker friendly expansion options, including a 40-pin GPIO interface that allow for interfacing with a range inputs from buttons, switches, sensors, LEDs, and much more. For more details visit the Radxa ROCK Pi resp. the Radxa Wiki website.
One of the supported boards is ROCK Pi 4.
ROCK Pi 4 is a Single Board Computer (SBC) in an ultra-small form factor that offers class-leading performance while leveraging outstanding mechanical compatibility. The ROCK Pi 4 offers makers, IoT enthusiasts, hobbyists, PC DIY enthusiasts and others a reliable and extremely capable platform for building and tinkering their ideas into reality. It also features a Gbit LAN for network, with dedicated bus and controller, it works without latency under heavy load network applications.
Radxa Zero is an ultra thin SBC in small form factor with powerful performance based on Amlogic S905Y2. Radxa Zero features a Quad Core 64 ARM processor, 32bit LPDDR4, up to 4K@60 HDMI, 802.11 ac WIFI, Bluetooth 5.0, USB 3.0, 40-pin GPIO header. Radxa Zero supports USB 2.0 and power via one USB-C port.
|ROCK Pi 4||Download: DietPi image|
|ROCK Pi S||Download: DietPi image|
|Radxa Zero||Download: DietPi image|
Allo Sparky SBC¶
Sparky Single Board Computer (SBC) is a credit card-sized board that can be used as a standalone computer, in electronics projects, games, and also in many other applications. A true open hardware, community-supported embedded computer for developers and hobbyists. The Sparky SBC has all the functionality of a basic computer. For more details visit the Allo Sparky SBC website.
ASUS Tinker Board¶
Tinker Board is a Single Board Computer (SBC) in an ultra-small form factor that offers class-leading performance while leveraging outstanding mechanical compatibility. The Tinker Board offers makers, IoT enthusiasts, hobbyists, PC DIY enthusiasts and others a reliable and extremely capable platform for building and tinkering their ideas into reality. For more details visit the ASUS Tinker Board website.
Tinker Board features standard maker connectivity options, including a 40-pin GPIO interface that allow for interfacing with a range inputs from buttons, switches, sensors, LEDs, and much more.
Tinker Board is equipped with one DSI MIPI connection for displays and touchscreens. The secondary CSI MIPI connection is for connection to compatible cameras allowing for computer vision, and much more.
Careful consideration went into the design and development of the Tinker Board to ensure that it provides a superior user experience for first-time builders or for seasoned hobbyists. Builders appreciate the color-coded GPIO header, which makes it easy to recognize respective pin headers.
NanoPi Series (FriendlyARM)¶
FriendlyARM’s next generation SBC - One of the fastest ARM SBC (RK3399) on the market today, with 2 x 1.8 GHz A72 cores and 4 x 1.4 GHz A53 cores. One of the smallest RK3399 SBCs available, a great addition to your SBC lineup that provides next gen SBC performance.
For more details visit the FriendlyARM website.
NanoPi K2 supports DVFS and it can smooth play high-definition video streams, and it is very well suited for applications such as advertisement machines, TV boxes, home entertainment appliances or multimedia devices.
|NanoPi NEO||Download: DietPi image|
|NanoPi NEO Plus2||Download: DietPi image|
|NanoPi NEO2||Download: DietPi image|
|NanoPi NEO2 Black||Download: DietPi image|
|NanoPi NEO3||Download: DietPi image|
|NanoPi NEO4||Download: DietPi image|
|NanoPi K1 Plus||Download: DietPi image|
|NanoPi K2||Download: DietPi image|
|NanoPi M1 Plus||Download: DietPi image|
|NanoPi M1/T1||Download: DietPi image|
|NanoPi M2/T2||Download: DietPi image|
|NanoPi M3/T3||Download: DietPi image|
|NanoPi M4V2||Download: DietPi image|
|NanoPC T4||Download: DietPi image|
|NanoPi M4||Download: DietPi image|
|NanoPi Fire3||Download: DietPi image|
|NanoPi R1||Download: DietPi image|
|NanoPi R2S||Download: DietPi image|
|NanoPi R4S||Download: DietPi image|
|ZeroPi||Download: DietPi image|
Native PC & Virtual Machines¶
Native PC images¶
The Native PC images are great for those occasions where SBC performance just isn’t enough. Run one of these on any x86_64 PC/server and still get the same great DietPi features and experience. This image is for motherboards with UEFI boot support and onboard eMMC (e.g.: Z83-II, Beelink AP32 and other Intel NUC/SBC devices with onboard eMMC).
The VMware virtual machine (e.g. VMware Workstation Player, VMware Workstation Pro, VMware Fusion) is great for those occasions where SBC performance just isn’t enough. Run one of these on any x86_64 PC/server (Windows, Linux, macOS) and still get the same great DietPi features and experience.
The VMware ESXi Hypervisor, described as a “Bare Metal Hypervisor” aka Type-1 hypervisor, is part of e.g. the VMware vSphere Hypervisor platform (“appliance server”). It allows to run and manage multiple virtual machines on one x86_64 machine. That way it can be compared to the Proxmox appliance server.
VirtualBox is a general-purpose full virtualiser for x86 hardware, targeted at server, desktop and embedded use.
The VirtualBox virtual machine is great for those occasions where SBC performance just isn’t enough. Run one of these on any x86_64 PC/server and still get the same great DietPi features and experience.
Proxmox is a virtual machine and container platform, based on QEMU and KVM. It allows to run and manage multiple virtual machines and containers on a Linux OS via CLI and web interface, similar to how VMware’s vSphere and ESXi works.
The Parallels Desktop virtual machine is great for those occasions where SBC performance just isn’t enough. Run one of these e.g. on any x86_64 macOS system (e.g. Mac mini 2011/2012/2014/2018) and still get the same great DietPi features and experience.
The UTM virtual machine is great for those occasions where SBC performance just isn’t enough. Run one of these on any macOS system (e.g. Mac mini 2011/2012/2014/2018 and M1 Apple Silicon) and still get the same great DietPi features and experience.
Emulation feature of UTM
The emulation feature is an option of the virtualization technique to run x86 code on a M1 Mac system and vice versa an M1 Mac code on a x86 Mac system.
This might be a good choice e.g. for testing purposes, but typically there will be a performance drawback using the emulation instead of running native x86 images on a x86 system resp. native
aarch64 images on an M1 system.
The Hyper-V virtual machine is great for those occasions where SBC performance just isn’t enough. Run one of these on any x86_64 PC/server and still get the same great DietPi features and experience.
|Native PC for BIOS/CSM||Download: DietPi image|
Download: DietPi installer image
|Native PC for UEFI||Download: DietPi installer image|
|VMware Player / Fusion||Download: DietPi VMX appliance|
|VMware ESXi Hypervisor||Download: DietPi OVA appliance|
|VirtualBox||Download: DietPi OVA appliance|
|Proxmox||Download: DietPi QCOW2 image|
|Parallels||Download: DietPi PVM appliance|
|UTM||Download: DietPi UTM appliance|
|Hyper-V||Download: DietPi VHDX image|
Make your own distribution¶
Unable to find an available image for your device?
Don’t worry, DietPi contains a script which can be used to turn an installed Debian-based OS into DietPi.
Advanced Linux knowledge required
To generate your own SBC support, an advanced Linux knowledge is required.
There is no guarantee that this will work for every system. Use the DietPi image generation script at your own risk!
Limited end user support
End user support will be limited to issues that are DietPi specific (which excludes Kernel, GPU, onboard Bluetooth, WiFi, Audio, etc. from our support). GPU features are disabled for other devices (e.g.: Kodi, Desktop), ideal for server usage.
Generally in case of troubles it may be necessary that you search the root cause of problems by your own due to non existent SBCs at the DietPi team.
Use an extra SD card to test the DietPi image generation
It may be a good idea not to use your “productive and working SD card” to execute the DietPi image generation script.
You should use an own SD card and may copy it before via the
dd command to a SD card for your tests.
The image generation is based on a shell script
- The script will convert any ‘bloated’ Debian/Raspbian installation into a lightweight DietPi system.
- The script will NOT support converting existing installed software (e.g. Nextcloud, Plex Media Server) over to the DietPi system.
- All existing software (APT) and user data will be deleted.
The script has to be executed on the running target system which you want to convert to a lightweight DietPi system, or when booting the original image as a container.
Requirement 1: Ensure a Debian/Raspbian OS is running on the system:
- For best results, we recommend a fresh/clean minimal Debian/Raspbian installation.
- Native PC users: Please install Debian stable before hand: https://www.debian.org/distrib/netinst
- Desktop images should work, however, the minimal the image, the quicker the installation, as less packages will need to be removed.
Remark: We do not support Ubuntu, or have any plans to do so.
Requirement 2: Packages which have to be installed in advance:
Needed packages should already exist on most systems, however pure minimal images may require the following installations:
apt update apt install -y curl ca-certificates systemd-sysv
Needed: Run script within SSH command or local term
Do not run the script within any desktop environment, because the desktop is uninstalled during the script execution.
That will “pull the ground from under your feet”.
Needed: Root rights
Ensure you have elevated privileges (e.g.: login as
root, or use
Execute the following shell command to download and execute the script:
bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-installer')"
In the following dialog you have to select the DietPi installer branch. Generally use
master as long as you do not want to create a development image:
In the following dialogues enter your name and afterwards the actual image base and the device (SBC or PC) the system is running on:
Depending on whether you want to use the WiFi feature later on, you have to select the option to keep or purge the WiFi package. To keep the package could be the case if your hardware has an onboard WiFi or you add the WiFi e.g. via an USB WiFi adapter.
The last selection is the target Debian version (the old Buster, current stable Bullseye, or next testing Bookworm).
After this, the script runs a couple of minutes, finally the following message occurs:
After this you can restart your system (
reboot), alternatively you can copy the SC card (via
dd) to an image (
.img) to duplicate your base installation.
A further step can be to generate a compressed DietPi image via the
bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-imager')"