Skip to main content

Installation methods

copyparty can be installed in multiple ways depending on your platform and preferences. The SFX is the recommended installation method for most users:
1

Download copyparty-sfx.py

copyparty-sfx.py - Complete with all languages
2

Run copyparty

Or with Python explicitly:
The SFX is a self-extractor that unpacks an embedded tar.gz into $TEMP. It’s plaintext Python, so you can inspect the code before running.

Official mirrors

If GitHub is unavailable, download from the official mirror:

PyPI installation

Install from Python Package Index:
Then run with:
  • Integrates with Python package managers
  • Easier updates with pip install -U copyparty
  • Better for automated deployments
  • Available as a copyparty command system-wide

Windows executable

No Python? Use the standalone Windows executable:
Download copyparty.exeIncludes Pillow built-in. Only needs FFmpeg for video thumbnails and media tags.
Double-click the .exe to run, or use from command line:
Do not install Python using winget or Microsoft Store - it breaks $PATH. Download from python.org instead.

Zipapp (emergency alternative)

If the SFX doesn’t work, use the zipapp:
The zipapp has slightly worse performance than the SFX but works on systems where the SFX might have issues.

Package managers

Arch Linux

copyparty is in the official Arch repositories:
Then run with:

Homebrew (macOS / Linux)

Run with:

Nix / NixOS

uv (fast Python package runner)

If you have uv installed:
No installation required - downloads and runs copyparty automatically.

Fedora

Fedora package does not exist yet. Use PyPI or SFX installation.

Docker

copyparty is available as Docker images:
Available image variants:
  • copyparty/ac - Full image with FFmpeg, Pillow, and all dependencies
  • copyparty/min - Minimal image (just copyparty, no thumbnails)
  • copyparty/iv - With libvips for faster thumbnails
  • copyparty/dj - Debian-based variants
Docker images cannot generate thumbnails for HEIF/HEIC images and H.265/HEVC video due to legal reasons.
See the Docker documentation for more details.

Mobile platforms

Android (Termux)

1

Install Termux

Download Termux from F-Droid (not Google Play - that version is outdated).
2

Install Python

3

Install copyparty

4

Run copyparty

Access at http://127.0.0.1:3923

iOS (a-Shell)

1

Install a-Shell

Download a-Shell from the App Store.
2

Install copyparty

3

Run copyparty

System service integration

For running copyparty as a system service:
Use the provided service file:
See contrib/systemd/copyparty.service for the template.

Sandboxing and security

For extra security, run copyparty in a sandbox:
Create a minimal chroot environment:
Very portable and lightweight.

Special environments

Synology NAS / DSM

See the Synology DSM guide for detailed instructions.

Bootable USB / CD-ROM

Not kidding - there’s a bootable edition: Boot from USB or CD and run copyparty without any OS installation.

RHEL 8 / Rocky Linux 8

You can run copyparty using the platform Python:

Installing optional dependencies

Enhance copyparty with optional features:
Enables image thumbnails and faster image processing.
3x faster than Pillow for thumbnails. Required for HEIF/HEIC on some systems.
For Windows, download from ffmpeg.org.
Read ID3 tags and metadata from audio files. Alternative to using FFprobe.
Enable the SFTP server feature (~700 MiB/s transfer speed).
Enable the FTP server.
Enable FTP over TLS.
Enable the TFTP server.
Use Argon2 for password hashing instead of the default.
Send event notifications via ZeroMQ.

Install all optional dependencies

This installs: argon2-cffi, paramiko, partftpy, Pillow, pyftpdlib, pyopenssl, pyzmq

Firewall configuration

For servers, open the necessary ports:
Port reference:
  • 80/443: HTTP/HTTPS
  • 3921: FTP
  • 3922: SFTP
  • 3923: HTTP (default)
  • 3945: SMB
  • 3969: TFTP (TCP)
  • 3990: FTPS
  • 69: TFTP (UDP)
  • 1900: SSDP
  • 5353: mDNS
  • 12000-12099: Passive FTP

Verifying installation

Check that copyparty is working:
Or with the SFX:
Test run with help:

Next steps

Quickstart guide

Learn how to configure and use copyparty

Configuration

Set up accounts, volumes, and advanced features