Direct Installation
Trailarr supports native direct installation on Linux, macOS, and Windows — no Docker required.
The only prerequisite is uv, a fast Python package manager that also manages Python versions.
Need more control?
See the Build and Install guide if the installer script doesn't work in your environment, or if you want to set up each step manually.
System Requirements
- Linux (Ubuntu 20.04+ / Debian 11+ / Fedora 38+ / Arch), macOS 13+, or Windows 10/11
- Internet connection
- At least 2 GB of free disk space
- For GPU hardware acceleration: NVIDIA, Intel, or AMD GPU (optional)
Step 1 — Install uv
Step 2 — Install Trailarr
The installer will:
- Download the latest release (includes pre-built web interface)
- Set up an isolated Python environment with
uv sync - Download the correct ffmpeg static binary for your OS and CPU architecture
- Ask you to choose a port (default
7889) - Create and start a system service (systemd / launchd / Windows Service)
- Detect GPU hardware and display driver installation instructions
Directory Structure
/opt/trailarr/ # Application
├── backend/ # Python source + .venv/
├── frontend-build/ # Web interface
├── bin/ # ffmpeg, ffprobe
└── scripts/ # start.py, cli/
/var/lib/trailarr/ # Data (persists across updates)
├── trailarr.db # SQLite database
├── .env # Configuration
├── backups/ # Automatic DB backups (30 kept)
├── logs/ # Application logs
└── web/images/ # Downloaded images
/etc/systemd/system/trailarr.service
/usr/local/opt/trailarr/ # Application
├── backend/ # Python source + .venv/
├── frontend-build/ # Web interface
├── bin/ # ffmpeg, ffprobe
└── scripts/ # start.py, cli/
~/.local/share/trailarr/ # Data (persists across updates)
├── trailarr.db
├── .env
├── backups/
├── logs/
└── web/images/
~/Library/LaunchAgents/com.trailarr.app.plist
C:\Program Files\Trailarr\ # Application
├── backend\ # Python source + .venv\
├── frontend-build\ # Web interface
├── bin\ # ffmpeg.exe, ffprobe.exe, nssm.exe
└── scripts\ # start.py, cli\
C:\ProgramData\Trailarr\ # Data (persists across updates)
├── trailarr.db
├── .env
├── backups\
├── logs\
└── web\images\
Windows Service: "Trailarr"
Service Management
Use the trailarr CLI that is installed automatically:
trailarr run # Start the service
trailarr stop # Stop the service
trailarr restart # Restart the service
trailarr status # Show current status
trailarr logs # Show last 50 log lines
trailarr logs 200 # Show last 200 log lines
trailarr update # Update to the latest version
trailarr uninstall # Remove Trailarr
Windows
On Windows, open a PowerShell with Administrator rights before running trailarr commands
that affect the service (run, stop, restart, update, uninstall).
You can also use OS-native tools directly:
GPU Hardware Acceleration
At the end of installation, Trailarr detects your GPU hardware and displays the exact commands needed to install drivers. Drivers are not installed automatically — you review and run the commands yourself.
After installing drivers, restart Trailarr and enable hardware acceleration in Settings → Video Processing.
Supported acceleration
| GPU | Linux | macOS | Windows |
|---|---|---|---|
| NVIDIA | CUDA / NVENC | — | NVENC |
| Intel | VAAPI | Metal (built-in) | DirectX |
| AMD | VAAPI | Metal (built-in) | DirectX |
Common driver commands
- NVIDIA — GeForce Experience or nvidia.com/drivers
- AMD — AMD Adrenalin Software
- Intel — Intel Graphics Driver
macOS
Metal hardware acceleration is built-in — no extra drivers are needed.
Configuration
All settings can be changed from the Trailarr web interface after installation. The configuration file is at:
| OS | Path |
|---|---|
| Linux | /var/lib/trailarr/.env |
| macOS | ~/.local/share/trailarr/.env |
| Windows | C:\ProgramData\Trailarr\.env |
Restart the Trailarr service after editing .env manually.
Updating
This will:
- Stop the service
- Back up your database and
.envto thebackups/folder - Download the latest release
- Run
uv syncto update Python dependencies - Restart the service
Your data directory is never modified during an update.
Uninstalling
You will be asked to confirm before anything is removed. This removes the application, service, and CLI. The data directory is also removed — back it up first if needed.
Troubleshooting
Service won't start
# Linux
sudo journalctl -u trailarr -n 100
# macOS
cat ~/Library/Logs/trailarr/trailarr.log
# Windows (PowerShell)
Get-Content "C:\ProgramData\Trailarr\logs\trailarr.log" -Tail 100
Common causes: port already in use, database corruption, missing uv or ffmpeg.
Port conflict
Edit the .env file and change APP_PORT, then restart the service.
Permission errors (Linux)
GPU acceleration not working
Verify drivers are installed and detected at startup:
# NVIDIA
nvidia-smi
# Intel / AMD (Linux)
vainfo
# Check Trailarr logs for "GPU detected" lines
trailarr logs 100
Then confirm hardware acceleration is enabled in Settings → Video Processing.
Comparison: Direct vs Docker
| Docker | Direct | |
|---|---|---|
| Setup complexity | Easy | Moderate (uv required) |
| GPU support | Complex in LXC/Proxmox | Native (direct driver access) |
| Performance | Good | Optimal (no container overhead) |
| Resource usage | Higher | Lower |
| Updates | docker pull |
trailarr update |
| System integration | Isolated | Native service (systemd / launchd / SCM) |
| Best for | Quick setup, isolated environments | Maximum performance, complex GPU setups |
Choose direct installation when you need full GPU hardware access, run in an environment where Docker GPU passthrough is difficult (e.g., Proxmox LXC), or simply prefer a native system service.