~/ Affinity CLI
Affinity CLI - Now All-in-One. One CLI Command.

Linux-first CLI installer

Affinity on Linux.
Zero friction.

Install the Affinity Universal app with a single command. Tuned Wine stack, DXVK-ready, gamer-grade experience.

Explore the flow
Linux + Wine 10.x DXVK ready Profiles: minimal | standard | full
$ affinity-cli install

Install

Compatibility matrix.

Distros verified with the current Affinity CLI flow. Others likely work; these are tested.

Arch / EndeavourOS

Rolling release with pacman + yay. Latest Wine and DXVK from repos or Chaotic-AUR.

Ubuntu / Pop!_OS

22.04 LTS and 24.04 LTS verified. Install winetricks, Vulkan drivers, and enable multilib.

Fedora Workstation

Wayland-first; works with RPM Fusion drivers and DXVK. Use COPR for latest Wine if needed.

Debian

Bookworm with backports for Mesa. Keep non-free firmware enabled for GPU stacks.

NixOS

Flake-friendly; run inside FHS shell with Wine, DXVK, and Vulkan libs pinned.

Manjaro

Prebuilt kernels and drivers make DXVK setup quick; uses Arch-compatible flow.

Trust & Credibility

Tech stack badges.

Wine 10.x
DXVK
VKD3D
Python 3.10+
Pure CLI

Call to action

Quick start visual guide.

1

Clone

Grab the repo and move in.

git clone https://github.com/ind4skylivey/affinity-cli.git
2

Prep venv

Create and enter a virtual environment.

python3 -m venv .venv && source .venv/bin/activate
3

Install and run

Install editable and launch installer.

pip install -e . && affinity-cli install

Linux-first / Wine tuned / Neon fast

One command. Zero friction.

Install the Affinity Universal app on Linux with a hardened Wine stack, selectable profiles, and gamer-grade UX.

Read the full README
Python 3.8+ Wine 10.x ready Profiles: minimal / standard / full
install.sh
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -e .
$ affinity-cli install --wine-profile standard
> prepping Wine 11  /  installing vc runtime  /  pulling Affinity Universal
OK ready to launch
Quickstart

From clone to install in under 60 seconds.

Drop this project onto GitHub Pages or run it locally; the CLI remains the same. Paste the command below to bootstrap.

git clone https://github.com/ind4skylivey/affinity-cli.git
cd affinity-cli
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
affinity-cli install
Why it slaps
  • Guided Wine prep64-bit prefix, Windows 11 target, DXVK/VKD3D optional.
  • Profiles on tapMinimal, standard, or full component stacks.
  • Logged & scriptableNon-interactive flow with clear preflight checks.
  • Linux-native vibesNo vendor GUI; stays keyboard-first and theme-friendly.

Tuned for your rig

Pick a Wine profile.

minimal

Speedrun

Essential components only - ideal for advanced users who want the lightest footprint.

  • Windows 11 target
  • corefonts, tahoma, crypt32
  • d3dcompiler_47
standard

Balanced (default)

The recommended stack: great compatibility without long prep times.

  • Everything in minimal
  • vcrun2022
  • ~10-12 minutes on first run
full

Maximum compatibility

Longest initial prep, but removes friction for demanding Affinity features.

  • Standard stack
  • dotnet48, dxvk, vkd3d
  • mono removal, tuned for gaming GPUs
Execution Flow
  1. Preflight: checks Python, Wine, disk space, network.
  2. Prefix prep: configures 64-bit Wine, Windows 11, fonts, crypto libs.
  3. Components: installs per-profile packages (vcrun, DXVK, .NET).
  4. Installer: downloads Affinity Universal and runs silent install.
  5. Verify: sanity checks; re-run is fast with cached prefix.
Runtime friendly

Runs clean on KDE, GNOME, Hyprland, Sway, i3, and other compositors. Logs stay readable on dark terminals, and the default palette follows the site's neon-green/ice-blue aesthetic.

Works offline after download DXVK ready No root required for CLI

Feature deck

Trading-card highlights.

Guided Wine prep

Prefix creation with winetricks, Windows 11 target, fonts, crypto libs, and vcrun when needed.

64-bit No root
Profile selector

Switch between minimal, standard, and full stacks to match your GPU, time, and app needs.

DXVK dotnet48 vkd3d
Logged and scriptable

Non-interactive flow with explicit preflight checks and replayable logs that stay readable in dark terminals.

CI friendly Debug logs

Compatibility

Plays nice with modern Linux desktops.

Tested on Arch, Fedora, Debian derivatives, and NixOS (flake users welcome). Vulkan-capable GPUs recommended for DXVK.

3.10+ Python
10.x Wine
0 -> GO Interaction debt
MIT License

See it in action

Real installs on Linux desktops.

Terminal install workflow Affinity apps running on Linux Affinity Photo running via Wine

FAQ

Stay in control.

Does it touch my existing Wine prefix?

No. It uses its own prefix (default: ~/.wine-affinity) so your other Wine apps stay untouched.

Can I skip downloads if I already have Proton-GE?

Yes. Set SKIP_DOWNLOAD=1 and point WINE/WINESERVER at your binaries.