Installation Guide
This guide will walk you through the installation process for Cleanuparr. Cleanuparr can be installed in several ways depending on your preference and system configuration.
Note
For most users, we recommend the Docker installation method as it provides the most consistent experience across all platforms.
Table of Contents
- Docker Installation (Recommended)
- Windows Installation
- macOS Installation
- Linux Installation
- Post Installation
- Troubleshooting
Docker Installation (Recommended)
Docker is the preferred installation method as it ensures all dependencies are correctly installed and provides consistent behavior across all platforms.
Prerequisites
- Docker (version 20.10 or newer)
- Docker Compose (optional, for compose method)
Docker Run Method
The simplest way to run Cleanuparr is with a single Docker command:
Option 1: GitHub Container Registry (Recommended)
docker run -d --name cleanuparr \
--restart unless-stopped \
-p 11011:11011 \
-v /path/to/config:/config \
-e PORT=11011 \
-e BASE_PATH= \
-e PUID=1000 \
-e PGID=1000 \
-e UMASK=022 \
-e TZ=Etc/UTC \
ghcr.io/cleanuparr:latest
Option 2: DockerHub
docker run -d --name cleanuparr \
--restart unless-stopped \
-p 11011:11011 \
-v /path/to/config:/config \
-e PORT=11011 \
-e BASE_PATH= \
-e PUID=1000 \
-e PGID=1000 \
-e UMASK=022 \
-e TZ=Etc/UTC \
cleanuparr/cleanuparr:latest
Docker Compose Method
For easier management, create a docker-compose.yml
file:
Option 1: GitHub Container Registry
services:
cleanuparr:
image: ghcr.io/cleanuparr/cleanuparr:latest
container_name: cleanuparr
restart: unless-stopped
ports:
- "11011:11011"
volumes:
- /path/to/config:/config
environment:
- PORT=11011
- BASE_PATH=
- PUID=1000
- PGID=1000
- UMASK=022
- TZ=Etc/UTC
Environment Variables
Variable | Default | Description |
---|---|---|
PORT | 11011 | Port for the web interface |
BASE_PATH | (empty) | Base path for reverse proxy setups |
PUID | 1000 | User ID for file permissions |
PGID | 1000 | Group ID for file permissions |
UMASK | 022 | File creation mask |
TZ | Etc/UTC | Timezone setting |
Volume Mounts
Container Path | Description |
---|---|
/config | Configuration files and database |
Note
Replace /path/to/config
with your desired configuration directory path on the host system.
Windows Installation
Windows Installer
The easiest way to install Cleanuparr on Windows is using the provided installer.
Installation Steps
- Download the Windows installer (
.exe
) from the GitHub Releases page - Double-click the downloaded
.exe
file to start installation - Important: When Windows Defender SmartScreen appears, click "More info" and then "Run anyway"
- Follow the on-screen instructions to complete installation
- Cleanuparr will be installed as a Windows service and start automatically
Default Configuration
- Web Interface:
http://localhost:11011
- Service Name: Cleanuparr
- Installation Directory:
C:\Program Files\Cleanuparr\
- Configuration:
C:\ProgramFiles\Cleanuparr\config\
Windows Portable
For users who prefer a portable installation:
- Download the
Cleanuparr-{version}-win-amd64.zip
from GitHub Releases - Extract the zip file to your desired directory (e.g.,
C:\Tools\Cleanuparr\
) - Run
Cleanuparr.exe
to start the application - Access the web interface at
http://localhost:11011
Note
The portable version requires manual startup and doesn't install as a Windows service.
macOS Installation
macOS Installer
Cleanuparr provides native macOS installers for both Intel and Apple Silicon Macs.
Installation Steps
- Download the appropriate
.pkg
installer from GitHub Releases:Cleanuparr-{version}-macos-intel.pkg
for Intel MacsCleanuparr-{version}-macos-arm64.pkg
for Apple Silicon Macs
- Double-click the downloaded
.pkg
file - When macOS shows a security warning, go to System Settings → Privacy & Security
- Scroll down and click "Open Anyway" to proceed with installation
- Follow the installation prompts
- Cleanuparr will be installed as a system service and start automatically
Default Configuration
- Web Interface:
http://localhost:11011
- Application:
/Applications/Cleanuparr.app
- Configuration:
/Applications/Cleanuparr.app/Contents/MacOS/config/
- Service: Managed by
launchd
Important
macOS will show security warnings for unsigned applications. This is normal - click "Open Anyway" in System Settings to proceed.
macOS Portable
For users who prefer a portable installation:
- Download the appropriate zip file from GitHub Releases:
Cleanuparr-{version}-osx-amd64.zip
for Intel MacsCleanuparr-{version}-osx-arm64.zip
for Apple Silicon Macs
- Extract the zip file to your desired directory
- Open Terminal and navigate to the extracted directory
- Make the binary executable:
chmod +x Cleanuparr
- Run:
./Cleanuparr
- Access the web interface at
http://localhost:11011
Linux Installation
Linux users can use the portable executables, as we don't provide distribution-specific packages.
Portable Installation
- Download the appropriate zip file from GitHub Releases:
Cleanuparr-{version}-linux-amd64.zip
for x86_64 systemsCleanuparr-{version}-linux-arm64.zip
for ARM64 systems
- Extract the zip file:
unzip Cleanuparr-{version}-linux-amd64.zip
cd Cleanuparr-{version}-linux-amd64/ - Make the binary executable:
chmod +x Cleanuparr
- Run Cleanuparr:
./Cleanuparr
- Access the web interface at
http://localhost:11011
Running as a Service (Systemd)
To run Cleanuparr as a systemd service:
-
Create a service file:
sudo nano /etc/systemd/system/cleanuparr.service
-
Add the following content:
[Unit]
Description=Cleanuparr
After=network.target
[Service]
Type=simple
User=cleanuparr
Group=cleanuparr
ExecStart=/opt/cleanuparr/Cleanuparr
WorkingDirectory=/opt/cleanuparr
Restart=always
RestartSec=5
Environment=PORT=11011
Environment=BASE_PATH=
[Install]
WantedBy=multi-user.target -
Create a dedicated user:
sudo useradd -r -s /bin/false cleanuparr
-
Move Cleanuparr to
/opt/cleanuparr
and set ownership:sudo mkdir -p /opt/cleanuparr
sudo cp Cleanuparr /opt/cleanuparr/
sudo chown -R cleanuparr:cleanuparr /opt/cleanuparr -
Enable and start the service:
sudo systemctl enable cleanuparr
sudo systemctl start cleanuparr
Post Installation
Default Configuration
- Web Interface:
http://localhost:11011
- Base Path: (empty) (for reverse proxy setups, change
BASE_PATH
environment variable) - Configuration Location: Varies by platform and installation method