How to Install Kodi on RetroPie

Zach Zach (248)
15 minutes

You can run both Kodi and RetroPie on the same Raspberry Pi without having to switch between partitions! This allows you to switch seamlessly between your favorite retro games and your favorite movies, TV shows and music.

This is possible because RetroPie includes an optional component that can be used to run Kodi in RetroPie. After installing, you'll be able to launch Kodi from the same menu system as you use to access your retro gaming consoles. You can have a sweet DIY home theater setup and retro gaming mother-rig at the same time!

One machine to rule them all. This guide will show you how it's done!

Raspberry PiRaspberry Pi ×1
HDMI cable ×1
MicroSD card, 32GB ×1
Raspberry Pi power supply ×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

Of course, you first need to install RetroPie on your Raspberry Pi. If you haven't done this already, I wrote a separate RetroPie install guide.

If you already have RetroPie installed, I recommend updating it to ensure compatibility with the latest Kodi release.

Before you begin, here are a few questions that I thought people might ask:

Which Raspberry Pi versions can run Kodi on RetroPie?

All versions of the Raspberry Pi can run Kodi on RetroPie. You will need an internet/network connection to run Kodi, so I recommend using a Pi 3 or Zero W (which both have built-in WiFi). If you're using another kind of Pi, you can always add WiFi to your Pi using a USB adapter.

How big should my SD card be?

To have both RetroPie and Kodi in the same installation, I recommend a card that's at least 32GB. You can probably get away with a 16GB card, but you'll be limited on how much media content you can store on the device to use with Kodi.

Can I run Kodi on the Pi without RetroPie (standalone)?

Yes. If you'd rather install Kodi on a Pi that won't have RetroPie, howchooer Jeremy wrote a separate standalone Raspberry Pi Kodi installation guide for you!

Access RetroPie Setup

On the main RetroPie/EmulationStation screen (where it lists your game consoles), select the RetroPie system. Then, select RETROPIE SETUP.

You can use your game controller (or a keyboard) for the entire setup process.

Install the optional Kodi package

Select the Manage packages option and then select Manage optional packages. This is the area where you can find lots of cool optional RetroPie packages, including emulators for strange and obscure gaming systems, as well as other experimental packages.

Scroll down and select the Kodi option. Finally, select Install from binary. It may take several minutes to download and install everything, especially if you're using a Pi Zero.

When you're done, use your back button (B on your controller) to exit to the main RetroPie UI (EmulationStation).

Then, reboot your Pi.

Launch Kodi from RetroPie

What's neat about Kodi for RetroPie is that you can access it from the same area that you'd access your retro games from. It essentially appears as a "Kodi" game in the "Ports" gaming system.

From the main screen containing all your systems, select Ports and then KODI.

Kodi in action!

Ah, we now have Kodi in RetroPie.

You might be prompted to configure your controller. If your controller becomes unresponsive, you might need to use a keyboard to get to the Controller Configuration screen.

I recommend adjusting the player resolution in the Kodi settings menu (see: gear icon).

To exit Kodi and return to EmulationStation for some more mad retro gaming, select the Power icon and then Exit.

Optional: Turn Kodi into a RetroPie "system"

Wouldn't it be nice if Kodi showed up as its own system instead of appearing under Ports? This step is totally optional, but continue on if you'd like to do this:

Create an EmulationStation config file

Connect to your Pi via SSH. Then, run the following commands:

sudo cp /etc/emulationstation/es_systems.cfg /home/pi/.emulationstation/es_systems.cfg
sudo nano /home/pi/.emulationstation/es_systems.cfg

After es_systems.cfg opens in the Nano editor, add the following entry anywhere between <systemList> and </systemList>:

<system>
    <fullname>Kodi</fullname>
    <name>kodi</name>
    <path>~/RetroPie/roms/kodi</path>
    <extension>.sh .SH</extension>
    <command>bash %ROM%</command>
    <platform>kodi</platform>
    <theme>kodi</theme>
</system>

Save and exit.

Make a Kodi ROM directory

All EmulationStation systems must have a ROM directory:

mkdir /home/pi/RetroPie/roms/kodi

Make the Kodi launch script

Edit the following file using the Nano editor:

sudo nano /home/pi/RetroPie/roms/kodi/kodi.sh

Add the following line:

kodi-standalone

Save and exit. Finally, make the launch script executable:

sudo chmod +x /home/pi/RetroPie/roms/kodi/kodi.sh

Finally, reboot your Pi. Kodi will now appear as its own system!