Skip to content

Installation

Actionbot edited this page Jul 4, 2026 · 22 revisions

Installation Options

qbit_manage offers multiple installation methods to suit different use cases:

Installation Methods

1. Desktop App (Recommended for most users)

  • Windows: Download and run the .exe installer
  • macOS: Download and install the .dmg package
  • Linux: Download and install the .deb package

The desktop app provides a graphical interface and automatically handles configuration file setup.

2. Standalone Binary (Command-line)

  • Windows: qbit-manage-windows-amd64.exe
  • macOS: qbit-manage-macos-arm64 (Apple Silicon) or qbit-manage-macos-x86_64 (Intel)
  • Linux: qbit-manage-linux-amd64 (x86_64) or qbit-manage-linux-arm64 (ARM64/Raspberry Pi)

Perfect for server environments, automation, or users who prefer command-line tools.

3. Docker Container

  • Multi-architecture support (amd64, arm64, arm/v7)
  • Ideal for containerized environments and NAS systems

4. Python Installation

  • Install from source or PyPI
  • For developers or users who want to modify the code

Detailed Installation Guides

Desktop App Installation

Windows

  1. Download qBit.Manage_<version>_x64-desktop-installer-setup.exe from the releases page
  2. Run the installer and follow the setup wizard
  3. Launch qBit Manage from the Start Menu or desktop shortcut
  4. The app will automatically create the configuration directory and files

macOS

  1. Download the appropriate .dmg from the releases page:
    • qBit.Manage_<version>_aarch64-desktop-installer.dmg for Apple Silicon (M1+)
    • qBit.Manage_<version>_x64-desktop-installer.dmg for Intel Macs
  2. Open the DMG file and drag qBit Manage to your Applications folder
  3. The app is not code-signed. To open it, remove the quarantine attribute:
    xattr -cr /Applications/qBit\ Manage.app
  4. Launch qBit Manage from Applications
  5. The app will automatically create the configuration directory and files

Linux

  1. Download the appropriate .deb installer from the releases page:
    • qBit.Manage_<version>_amd64-desktop-installer.deb for x86_64 systems
    • qBit.Manage_<version>_arm64-desktop-installer.deb for ARM64 systems (Raspberry Pi, etc.)
  2. Install using your package manager:
    sudo dpkg -i qBit.Manage_*-desktop-installer.deb
    sudo apt-get install -f  # Fix any dependency issues
  3. Launch qBit Manage from your applications menu or run qbit-manage in terminal
  4. The app will automatically create the configuration directory and files

Standalone Binary Installation

Windows

  1. Download qbit-manage-windows-amd64.exe from the releases page
  2. Place the executable in a directory of your choice (e.g., C:\Program Files\qbit-manage\)
  3. Add the directory to your PATH environment variable (optional)
  4. Run from Command Prompt or PowerShell:
    qbit-manage-windows-amd64.exe --help

macOS

  1. Download the appropriate binary from the releases page:
    • qbit-manage-macos-arm64 for Apple Silicon Macs (M1, M2, M3, etc.)
    • qbit-manage-macos-x86_64 for Intel Macs
  2. Remove the quarantine attribute and make executable:
    xattr -cr qbit-manage-macos-*
    chmod +x qbit-manage-macos-*
  3. Move to a directory in your PATH (optional):
    sudo mv qbit-manage-macos-* /usr/local/bin/qbit-manage
  4. Run the binary:
    ./qbit-manage-macos-* --help

Linux

  1. Download the appropriate binary from the releases page:
    • qbit-manage-linux-amd64 for x86_64 systems
    • qbit-manage-linux-arm64 for ARM64 systems (Raspberry Pi, etc.)
  2. Make the binary executable (substitute arm64 for ARM64 systems):
    chmod +x qbit-manage-linux-amd64
  3. Move to a directory in your PATH (optional):
    sudo mv qbit-manage-linux-amd64 /usr/local/bin/qbit-manage
  4. Run the binary:
    ./qbit-manage-linux-amd64 --help

Python/Source Installation

For developers or users who want to modify the code, you can install from source or PyPI.

Prerequisites

  • Python 3.10 or higher
  • Git (for source installation)

Method 1: Install from PyPI

# Install uv first
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install qbit-manage
uv tool install qbit-manage

Method 2: Install from Source

# Clone the repository
git clone https://github.com/StuffAnThings/qbit_manage.git
cd qbit_manage

# The default branch is `develop` (latest code, may be unstable).
# For the latest stable release, switch to master (omit to build from develop):
git checkout master

# Install uv if not already installed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install the package
uv tool install .

Running qbit-manage

After installation, you can run qbit-manage from anywhere:

# Show help and available options
qbit-manage --help

# Run once (without scheduler)
qbit-manage --run

# Run with web UI (default on desktop)
qbit-manage --web-server

# Run without web UI (force disable)
qbit-manage --web-server=False

Usage

After installation, you can run qbit_manage using:

qbit-manage --help

Tip

For Python installations, it's recommended to use a virtual environment to avoid conflicts with other packages.

Development Installation

For development work or to contribute to the project:

# Clone the repository
git clone https://github.com/StuffAnThings/qbit_manage.git
cd qbit_manage

# Install uv if not already installed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate  # Linux/macOS
# .venv\Scripts\activate  # Windows

# Install in development mode
uv pip install -e .

Updating

Tool installation:

uv tool upgrade qbit-manage

Development installation:

cd qbit_manage
git pull
uv pip install -e . --upgrade

Quick Reference: Default Configuration File Locations

Desktop App & Standalone Binary

  • Windows: %APPDATA%\qbit-manage\config.yml
  • macOS: ~/Library/Application Support/qbit-manage/config.yml
  • Linux: ~/.config/qbit-manage/config.yml

Docker Installation

  • Container Path: /app/config.yml
  • Host Mount: Typically mounted from /path/to/your/config:/config

Custom Location

You can override the default location using the --config-dir or -cd command line option:

qbit-manage --config-dir /path/to/your/config/directory

Changing the Default Web Server Port

The web server defaults to port 8181, which avoids conflict with qBittorrent's own default WebUI port (8080). There are two ways to change it.

Option 1: Environment variable

Windows (Command Prompt)

set QBT_PORT=9090
qbit-manage-windows-amd64.exe

Windows (PowerShell)

$env:QBT_PORT = "9090"
.\qbit-manage-windows-amd64.exe

Windows — persistent (System Properties)

  1. Open Start → Search → "Edit the system environment variables"
  2. Click Environment Variables...
  3. Under User variables, click New and add QBT_PORT = 9090
  4. Restart qBit Manage

macOS / Linux

QBT_PORT=9090 ./qbit-manage

macOS / Linux — persistent Add the following to your shell profile (~/.bashrc, ~/.zshrc, or ~/.profile):

export QBT_PORT=9090

Then restart your shell or run source ~/.bashrc.

Option 2: CLI flag

Pass --port (or -p) directly when launching the binary:

# Linux / macOS
./qbit-manage --port 9090

# Windows Command Prompt
qbit-manage-windows-amd64.exe --port 9090

# Windows PowerShell
.\qbit-manage-windows-amd64.exe --port 9090

You can also change the bind address with --host (default 0.0.0.0) and add a URL path prefix with --base-url:

./qbit-manage --port 9090 --host 127.0.0.1 --base-url /qbm

Note

Environment variables take precedence over CLI flags. The full priority order is: QBT_PORT / QBT_HOST / QBT_BASE_URL environment variables → --port / --host / --base-url CLI flags → built-in defaults (8181 / 0.0.0.0 / empty).

Desktop App

The desktop app (.exe / .dmg installer) launches the built-in binary automatically. You can still customize the port:

  • Environment variable — set QBT_PORT in your system environment before launching the app (see above).
  • CLI shortcut (Windows) — edit the app shortcut's Target field and append --port 9090.
  • CLI shortcut (macOS/Linux) — launch from Terminal with open -a "qBit Manage" --args --port 9090 or create a shell alias.

Clone this wiki locally