This list covers ten distinct ways to run Kodi on a Raspberry Pi, from the classic LibreELEC install to niche setups like dual-booting with RetroPie or using Docker. It’s for anyone who owns a Pi (especially a Pi 4 or 5) and wants a dedicated media center, but isn’t sure which approach fits their hardware and habits. Each item includes concrete details on what it is, why it’s useful, and what to watch out for.
1. LibreELEC (The Standard Choice)
LibreELEC is a minimal, purpose-built Linux distribution that boots directly into Kodi. It’s the most stable and fastest option because the entire OS exists only to run Kodi—no desktop environment, no extra services. You flash the image to an SD card or USB drive using the Raspberry Pi Imager, and you’re done. It auto-updates Kodi to the latest stable version and includes hardware acceleration for H.265 and VP9 video on the Pi 4 and 5.
2. OSMC (For a Polished Interface)
OSMC (Open Source Media Center) is a full Debian-based OS with Kodi pre-installed, but it adds a slick skin called Krypton and a dedicated app store. Unlike LibreELEC, OSMC gives you a proper Linux environment underneath, so you can install additional packages like Samba or SSH tools without breaking Kodi. It’s slightly heavier on resources than LibreELEC, but on a Pi 4 with 2GB+ RAM, you won’t notice the difference. It also supports automatic updates via its own repository.
3. Raspberry Pi OS + Kodi (The DIY Route)
Install the full Raspberry Pi OS (64-bit) and then add Kodi via sudo apt install kodi. This gives you a general-purpose computer that can also play media, which is ideal if you want to run other apps like Chromium or RetroPie alongside Kodi. The downside is that you’ll need to manually enable hardware acceleration in Kodi’s settings (Settings > Player > Acceleration) to get smooth 4K playback. It’s more work, but you get total control over the system.
4. Dual-Boot with RetroPie (Gaming + Media)
Use a tool like PINN (a multi-boot loader for Raspberry Pi) to install both LibreELEC and RetroPie on the same SD card. On boot, you pick which system to enter—Kodi for movies, RetroPie for games. This is perfect for a living-room setup where you want one box for both. The trick is partitioning the SD card correctly; PINN handles that automatically. Use a high-quality card (A2 or better) to avoid I/O bottlenecks when switching systems.
5. Kodi in Docker (For Tinkerers)
If you’re already running a Pi as a home server with Docker, you can run Kodi in a container using images like lscr.io/linuxserver/kodi. This isn’t for the faint of heart—you’ll need to pass through the GPU and audio devices manually, and you’ll lose the native fullscreen experience unless you use a virtual display. It’s worth it if you want to keep your Pi’s OS clean and isolate Kodi’s dependencies. Expect to spend a few hours getting the --device flags right.
6. Kodi with a TV Tuner (Live TV + DVR)
Pair Kodi with a USB TV tuner like the Hauppauge WinTV-dualHD and the Tvheadend add-on to watch and record live broadcast TV. On a Pi 4, you can run Tvheadend as a backend service in the background while Kodi acts as the frontend. This setup supports EPG (electronic program guide) data and scheduled recordings. The Pi’s USB 2.0 ports are sufficient for a single tuner, but avoid using a powered USB hub with flaky power—use a dedicated power supply for the Pi.
7. Kodi as a Plex Client (Using PlexKodiConnect)
Install the PlexKodiConnect add-on to turn Kodi into a full Plex client, syncing your watched status and library metadata. This is great if you already run a Plex server on a NAS or another Pi. The add-on uses the Plex API to pull your libraries, but Kodi handles the actual playback, which often gives better codec support than the official Plex app. You’ll need to disable Plex’s own transcoding and let Kodi direct-play everything for the best experience.
8. Kodi with a Remote Control (CEC Setup)
Enable CEC (Consumer Electronics Control) on your Pi via config.txt (add hdmi_cec=1) to control Kodi with your TV’s remote. This works out of the box on most TVs, but you can fine-tune it with the cec-client tool to map buttons like “play” or “exit” to specific Kodi actions. It’s worth doing because a dedicated remote or phone app is an extra cost. On the Pi 5, CEC is more reliable than on earlier models—test it with your TV’s brand first.
9. Kodi with a NAS (Network Streaming)
Mount an NFS or SMB share from a NAS to stream your media library without filling up the Pi’s SD card. In Kodi, go to Settings > File Manager > Add Source and enter the network path. Use NFS instead of SMB for better performance on a wired network—SMB can be slow with large 4K files. For wireless, use a 5GHz connection and avoid 2.4GHz, which will buffer on high-bitrate content. This setup is ideal if you already have a Synology or QNAP box.
10. Kodi on Pi 5 with NVMe (The Speed Demon)
Using the official Raspberry Pi M.2 HAT+ (or a third-party NVMe base) to boot Kodi from an NVMe SSD dramatically speeds up library scans and thumbnail loading. LibreELEC supports NVMe boot on the Pi 5, and you’ll see boot times drop from ~30 seconds to under 10. This is overkill for most, but if you have a huge library (10,000+ movies) or use heavy skins like Aeon Nox, it’s a game-changer. Just ensure your power supply is rated at 5V/5A to handle the SSD.
How to Choose
First, decide if you want a dedicated media center or a multi-purpose Pi. If it’s only for Kodi, LibreELEC is the no-brainer—it’s the most stable and easiest to maintain. If you also game or run other services, go with Raspberry Pi OS or dual-boot. For live TV, you need a tuner and Tvheadend—any of the above will work, but LibreELEC has the best out-of-box TV support. For Plex users, PlexKodiConnect works on any setup, but you’ll want LibreELEC for the least friction. Finally, consider your storage: if you have a NAS, use NFS; if you want speed, invest in an NVMe HAT for a Pi 5.
Frequently Asked Questions
Can a Raspberry Pi 4 run 4K Kodi?
Yes, the Pi 4 can handle 4K H.265 and VP9 video in Kodi with hardware acceleration enabled. It struggles with 4K H.264, but that’s rare. The Pi 5 is more capable for high-bitrate 4K remuxes.
Do I need a heatsink for Kodi?
Not for standard playback—Kodi is light on CPU. But if you’re running a NAS or Docker alongside, a small heatsink or fan case is wise, especially on the Pi 5.
Can I use Kodi on a Raspberry Pi Zero 2 W?
Technically yes, but only for 1080p content. The Zero 2 W lacks the RAM and GPU power for 4K, and network streaming will be slow over Wi-Fi. It’s fine for a small bedroom TV.
How do I update Kodi on LibreELEC?
Go to LibreELEC settings (the gear icon) and select “Update.” It will check for the latest stable release and download it automatically. You can also manually install a .tar file from the LibreELEC website.
Why is my Kodi buffering on network shares?
Likely a slow SD card or a 2.4GHz Wi-Fi connection. Use a wired Ethernet connection or a 5GHz network, and ensure your SD card is at least UHS-I class 10. Also, try NFS instead of SMB.
Can I run Kodi and Home Assistant on the same Pi?
Yes, but not easily. You’d need to run Home Assistant in Docker on Raspberry Pi OS, then install Kodi as a desktop app. It’s resource-heavy; a Pi 4 with 4GB RAM is the minimum for a smooth experience.
Final Thoughts
No single setup is best for everyone—it depends on your hardware and what you want beyond Kodi. For most people, LibreELEC on a Pi 4 or 5 is the sweet spot: fast, reliable, and zero maintenance. If you’re a tinkerer, the Docker or DIY routes offer flexibility. Whichever you choose, a Raspberry Pi running Kodi is one of the most cost-effective media centers you can build, and it’ll last for years with proper cooling and a good power supply.