4 Proven Methods to Play Apple Music on Raspberry Pi

By Adam Gorden Updated on September 4, 2025

stream apple music on rasberry pi

The humble, Linux-based Raspberry Pi started out as a tiny, affordable computer for learning programming, but it has grown into a favorite among DIY enthusiasts. This little device can stream music, run mini servers, or power home automation projects, all while staying compact and cost-effective. Sales have been growing steadily, and by May 2021, over forty million boards had been sold. That year alone, Raspberry Pi produced 7 million units.

If you use a Pi, you probably know that the Pi MusicBox can stream music from services like TIDAL, local music libraries, and more by using specialized software such as Volumio, LMS, or Moode Audio.

But what about Apple Music? Can you play Apple Music on a Pi? In this guide, we'll show you real methods to turn your Pi into a fully capable Apple Music hub.

Method 1. Play Apple Music on Raspberry Pi Using the Web Player

The web player is the easiest way to play Apple Music on your Pi if you have a stable internet connection and just want to listen to music online. You don't need to install extra software. Just open a browser like Chromium, sign in with your Apple ID, and start streaming.

Requirements Before You Start:

  • Your Raspberry Pi is connected to a stable Wi-Fi network.
  • A browser installed on your Pi (Chromium recommended).
  1. Make sure your Raspberry Pi is connected to your Wi-Fi network.
  2. Open the Chromium browser (or another browser installed on your Pi).
  3. Go to music.apple.com.
  4. Sign in with your Apple ID.
  5. Browse your library, playlists, or the Apple Music catalog.
  6. Click Play on a song or playlist.

Method 2. Stream Apple Music on Raspberry Pi with a Linux Client (Cider)

apple music client cider

Cider lets you run iOS apps on your Pi, including Apple Music. It takes a little more setup, but once it's ready, you get the full Apple Music experience. You can browse your library, playlists, and even use the App Store - just like on an iPhone or iPad. This method is ideal if you want more features than the web player.

Requirements Before You Start:

  • Your Raspberry Pi is connected to the internet.
  • Basic familiarity with terminal commands on Linux.
  1. Ensure your Raspberry Pi is connected to the internet.
  2. Open a terminal on your Raspberry Pi.
  3. Clone the Cider repository:
    git clone https://github.com/HemantSachdeva/Cider.git
    copy
  4. Navigate to the Cider folder:
    cd Cider
    copy
  5. Make the installation script executable:
    chmod +x install.sh
    copy
  6. Run the installation script with superuser privileges:
    sudo ./install.sh
    copy
  7. Reboot your Raspberry Pi after installation.
  8. Open Cider in the terminal by typing:
    cider
    copy
  9. Access the Apple App Store within Cider.
  10. Download and install the Apple Music app.
  11. Open Apple Music, sign in with your Apple ID, and browse your library.

Method 3. Stream Apple Music on Raspberry Pi via AirPlay (Shairport Sync)

airplay on apple music

AirPlay doesn't support Chromecast. However, tools like Shairport Sync or RPiPlay make your Raspberry Pi work like an AirPlay speaker. You can send music from your iPhone or iPad to the Pi over Wi-Fi. You don't need to install Apple Music on the Pi itself - just play music on your device, and it streams directly to your Pi.

Step 1: Set Up Third-Party Options for AirPlay

Option 1: Using Shairport Sync

  1. Ensure your Raspberry Pi is connected to your Wi-Fi network.
  2. Open a terminal and install Shairport-Sync:
    sudo apt-get update
    sudo apt-get install shairport-sync
    copy
  3. Start the AirPlay server:
    sudo service shairport-sync start
    copy

Option 2: Using RPiPlay

  1. Ensure your Raspberry Pi is connected to your Wi-Fi network.
  2. Open a terminal and install RPiPlay by running:
    sudo apt-get update
    sudo apt-get install cmake git libavahi-compat-libdnssd-dev libplist-dev libavcodec-dev libavformat-dev libavutil-dev
    git clone https://github.com/FD-/RPiPlay.git
    cd RPiPlay
    mkdir build
    cd build
    cmake ..
    make
    sudo make install
    copy
  3. Start RPiPlay by running:
    rplay
    copy

Step 2: AirPlay Apple Music to Your Raspberry Pi

  1. On your iPhone or iPad, open the Apple Music app.
  2. Start playing a song or playlist.
  3. Make sure your Raspberry Pi and iOS device are connected to the same Wi-Fi network.
  4. Tap the AirPlay icon (a rectangle with an arrow pointing into it).
  5. Select your Raspberry Pi from the list of available devices.
  6. Your Apple Music will now stream to your Raspberry Pi. You can control playback and volume directly from your iOS device.

Method 4. Download and Play Apple Music on Raspberry Pi with a Music Converter

Normally, you can't just open Apple Music on any device like Pi because its DRM protection keeps it locked to Apple platforms. Most of the time, users will need a DRM-removal tool like ViWizard Apple Music Converter to get Apple Music anywhere.

ViWizard is designed carefully for Apple Music. It converts DRM-protected tracks into common formats your Pi can actually read, like FLAC. The conversion process is surprisingly fast - up to 30 times faster than traditional methods - and it keeps all the ID3 tags intact. That means your music stays organized, with correct song titles, artists, and album info.

I set it up on my computer, picked a few playlists, and let ViWizard do its job. Soon, my songs were ready to transfer to the Pi. Everything played smoothly, no internet needed, and I could control playback just like normal music files. Here's how:

Requirements Before You Start:

  • A computer with ViWizard Apple Music Converter installed.
  • Access to your Apple Music account.
  • A USB drive or network connection to transfer files to the Raspberry Pi.
  • An audio player installed on the Raspberry Pi.
audio converter

Key Features of ViWizard Apple Music Converter

Free Trial Free Trial

* Security verified. 5, 481,347 people have downloaded it.

  • Convert Apple Music songs, albums, playlists, and artists into MP3 for easy access
  • Preserve lossless audio, high-resolution lossless, and Dolby Atmos quality
  • Strip DRM from Apple Music for unrestricted offline listening
  • Save converted audio files while retaining full ID3 tag details
  1. Download and install ViWizard Apple Music Converter on your computer.
  2. Open ViWizard and sign in to your Apple Music account.
  3. add apple music songs

  4. Select the playlists, albums, or songs you want to convert.
  5. Choose MP3 as the output format.
  6. set output settings

  7. Start the conversion process and wait for it to finish.
  8. convert apple music to mp3

  9. Locate the converted MP3 files on your computer.
  10. If using a USB drive, insert it into your computer.
  11. Copy the converted MP3 files and paste them into the USB drive.
  12. Safely eject the USB drive from your computer and plug it into your Raspberry Pi.
  13. Copy the music files from the USB drive into a folder on your Raspberry Pi (e.g., /home/pi/Music).
  14. If using a network connection, open your preferred file transfer client (e.g., WinSCP, Cyberduck, FileZilla).
  15. Connect to your Raspberry Pi using its IP address or hostname.
  16. Navigate to the folder where you want to store your music (e.g., /home/pi/Music).
  17. Copy the converted MP3 files from your computer and paste them into the folder on your Raspberry Pi.
  18. Open your audio player on the Raspberry Pi.
  19. Navigate to the folder containing your converted music. Your Apple Music is now ready to play offline on your Raspberry Pi.

FAQs About Playing Apple Music on Raspberry Pi

Why can't I play Apple Music directly on Raspberry Pi?

Apple Music doesn't support native streaming on Raspberry Pi, and iTunes only runs on x86 systems. To play music, you need workarounds like AirPlay or converted files.

Why can't I run iTunes on Raspberry Pi?

iTunes only works on x86 systems and isn't compatible with the ARM-based Raspberry Pi. There's no practical way to install it directly.

Can Raspberry Pi act as an AirPlay receiver for Apple Music?

Yes. With tools like Shairport-Sync, Raspberry Pi can receive AirPlay streams from an iPhone or Mac. This is the most common and reliable method.

Can I play Apple Music offline on Raspberry Pi?

Yes. You can convert DRM-protected Apple Music tracks to MP3 or FLAC using tools like ViWizard, then transfer the files to your Pi offline.

Why does Apple Music only play part of the song on Raspberry Pi?

Songs may stop after about 90 seconds because of browser and DRM limits on the web player. Full playback works normally on other devices.

Verdict

To draw a conclusion from the above passage, obviously play Apple Music on Raspberry Pi via AirPlay is a lot more cumbersome and time-consuming than Method 4. On top of that, Method 4 enables you not only to stream Apple Music to Raspberry Pi but to back up your favorite Apple Music songs and listen to them on any other devices offline. To be honest, Method 2 can help you accomplish many things in one time, without hassle. So don't miss ViWizard Audio Converter. Click the link below to listen to Apple Music playlists on any devices.

You May Be Interested

virtual dj logo

How to Mix Apple Music with Virtual DJ

Learn More >>
apple music on foobar2000

How to Stream Apple Music to foobar2000

Learn More >>
play apple music on android

How to Play Apple Music on Android Devices

Learn More >>
apple music on samsung music

How to Transfer Apple Music to Samsung Music

Learn More >>

Leave a Comment (0)

  1. Home >
  2. Apple Music >
  3. 4 Proven Methods to Play Apple Music on Raspberry Pi