Skip to content

Installation

Prerequisites

Stagearr runs on Windows only. The pipeline depends on Windows paths and integrates with qBittorrent running on Windows.

PowerShell

Stagearr requires PowerShell 7.x, a free, separate install from Microsoft (get it here). Windows PowerShell 5.1 is not supported.

External tools

Stagearr calls external tools for specific processing stages. Each tool is only required if the corresponding feature is enabled in your configuration. If you disable a feature, you do not need to install its tool.

Tool Download Required for
WinRAR win-rar.com RAR archive extraction
MKVToolNix mkvtoolnix.download MP4-to-MKV remux, subtitle track extraction and stripping
Subtitle Edit GitHub releases Subtitle cleanup (HI tag removal, error correction)

MKVToolNix provides two executables that Stagearr uses separately: mkvmerge (for remux and track stripping) and mkvextract (for subtitle extraction). Both are installed in the same MKVToolNix directory.

Subtitle Edit and seconv: Stagearr supports two cleanup engines. seconv is the recommended engine: it is a standalone command-line binary that ships with Subtitle Edit v5 (available from v5.1.0-beta1 onward). Download the SeConv-<os> release asset from the Subtitle Edit GitHub releases page. On Linux, the native libraries are bundled in the release asset, so no separate library installation is needed. Extract the asset into your Subtitle Edit install folder (or anywhere convenient) and point tools.subtitleEdit at the folder. Stagearr detects seconv automatically.

If you prefer the classic Windows GUI (SubtitleEdit.exe), it continues to work. Point tools.subtitleEdit at the install folder or directly at the .exe. When both seconv and SubtitleEdit.exe are present in the same folder, seconv takes precedence.

Optional PowerShell module

Mailozaurr v2.x enables inline poster images and implicit SSL in email notifications. Without it, Stagearr falls back to PowerShell's built-in Send-MailMessage, which works for basic email but does not support inline images.

Install-Module Mailozaurr -AllowPrerelease

Download Stagearr

Download the latest release zip from the Releases page and extract it to a stable path on your Windows machine (for example C:\Stagearr-ps). This is the recommended method: a release-zip install updates itself cleanly in place (see Auto-Update).

Stagearr reads its own location at startup, so do not move the folder after you configure qBittorrent.

If you plan to develop or contribute to Stagearr, you can instead clone the repository with git:

git clone https://github.com/Rouzax/Stagearr-ps.git C:\Stagearr-ps

A git clone updates with git pull rather than from the release zip, and that path is intended for development. See Auto-Update for the difference between the two.


Create your configuration

Run the interactive setup wizard to generate your config.toml:

.\Stagearr.ps1 -Setup

The wizard walks through your working paths, external tool locations, importer (Radarr, Sonarr, or Medusa) connection details, and email notifications, then writes config.toml. You can re-run it at any time to change settings, or edit config.toml by hand afterward. If you would rather start from a template, copy config-sample.toml to config.toml and edit it directly.

Only the settings you change from the defaults need to be present in config.toml; everything else falls back to built-in defaults. See the Settings Reference for every available key.


Configure tool paths

After installing the external tools, tell Stagearr where to find them. Tool paths are set in the [tools] section of config.toml. If you ran -Setup above, the wizard already created config.toml and recorded these paths; you can adjust them there or edit the file directly.

The Settings Reference documents each path key, including the [tools] section. Default values in config-sample.toml point to standard installation locations:

[tools]
# Paths to external tools - only needed for enabled features
winrar       = "C:/Program Files/WinRAR/RAR.exe"
mkvmerge     = "C:/Program Files/MKVToolNix/mkvmerge.exe"
mkvextract   = "C:/Program Files/MKVToolNix/mkvextract.exe"
subtitleEdit = "C:/Program Files/Subtitle Edit"

For subtitleEdit, point at the install folder rather than a specific binary. Stagearr checks the folder at startup and uses seconv if present, falling back to SubtitleEdit.exe otherwise. If your tools are installed in the default locations, these values will work without changes. Use forward slashes or double backslashes in paths (TOML treats a single backslash as an escape character).


Next steps

  • qBittorrent Integration: Set up the completion hook so Stagearr runs automatically when a torrent finishes.
  • Quick Start: Process your first download and confirm the pipeline runs end to end.