Guides · Yarr Media

Install Yarr Media

Install the Yarr Media server with one command, add your libraries and start watching in any browser at home.

About 10 minutes

Before you start

1. Run the installer

curl -fsSL https://yarr.media/install.sh | sudo bash

It installs Docker if needed, asks which folder holds your media (enter /srv/data/media), and starts Yarr Media. It also sets up the secure front door used by remote access and turns on nightly updates.

Prefer apt? See Install with apt.

2. Open Yarr Media

On any computer or phone on your home network, open:

http://SERVER-IP:8787

Replace SERVER-IP with the address the installer printed at the end.

3. Add your libraries

  1. Go to Settings → Libraries and choose + Add library.
  2. Give it a name, choose the Library type (Movies, TV Shows or Music) and pick its folder. Your media folder appears as /media, so movies are in /media/movies.
  3. Save. Yarr Media scans the folder and fetches posters, descriptions and cast.
  4. Repeat for TV shows and music.

Yarr Media only reads your media folder. It never changes, moves or deletes your files.

4. Optional extras

Updates, settings and uninstalling

  • Updates install automatically each night. To update now: sudo yarr-media-update.
  • Each update first saves a copy of your library database. If a new version doesn't start correctly, the previous version and database come back automatically. To go back by hand: sudo yarr-media-update --rollback.
  • To change the media folder or other settings, run the installer again. Your library and watch history are kept.
  • Installer options: YARR_MEDIA_DIR=/path, YARR_PORT=8787, YARR_NO_REMOTE=1 (home network only), for example curl -fsSL https://yarr.media/install.sh | sudo YARR_NO_REMOTE=1 bash.
  • View the log: sudo docker logs -f yarr-media.
  • Uninstall: sudo yarr-media-uninstall removes everything Yarr Media added (containers, images, update timer, the router forward, /opt/yarr-media and /var/lib/yarr-media). Add --keep-data to keep your library database. Your media folders are never changed: Yarr Media only reads them.