An Ubuntu-focused Linux port of the official ComfyUI Desktop app.
This fork keeps the upstream Electron desktop shell, bundled frontend, asset bootstrap, and packaging flow, then patches the parts that blocked Linux so the app can actually build and run on Ubuntu 26.04.
- A Linux build of the ComfyUI Desktop app
- Packaged as a
.deb - Built from the upstream
Comfy-Org/desktopsource - Patched to work on Ubuntu 26.04
It is not a web wrapper and it is not a fake launcher. It is the desktop app, ported.
- Linux build and packaging
- Bundled
desktop-uiassets in packaged builds .debinstallation on Ubuntu 26.04- Linux config/reset path handling
- Linux-safe startup behavior for Electron
- Asset bootstrap on Linux via
yarn make:assets - Existing local ComfyUI detection
- Automatic attach to an already-running local ComfyUI server on
127.0.0.1:8188
This fork supports two practical flows.
If both of these are true:
~/ComfyUIexists and looks like a valid ComfyUI directory- a local ComfyUI server is already running on
127.0.0.1:8188
then the desktop app will:
- detect that install
- persist it as the desktop
basePath - switch into external-server mode
- skip the desktop-managed Python bootstrap path
- open against the running ComfyUI instance instead of forcing a fresh install
This is the mode you want if you already run ComfyUI in the browser and just want the desktop shell.
If no compatible local install/server is detected, the app falls back to the normal desktop onboarding flow and can set up its own managed install path.
The upstream app can be built as an AppImage, but in practice Electron on Linux hits the usual chrome-sandbox failure inside the mounted AppImage runtime.
For Ubuntu, .deb is the cleaner target:
- no AppImage sandbox helper nonsense
- normal desktop integration
- normal installation path under
/opt/ComfyUI - normal launcher registration
sudo apt install ./dist/ComfyUI-0.8.30-amd64.debOr install from an absolute path:
sudo apt install /path/to/ComfyUI-0.8.30-amd64.debUse your desktop launcher or run:
/opt/ComfyUI/@comfyorgcomfyui-electron --no-sandbox --disable-gpu--disable-gpu here affects Electron rendering, not PyTorch/CUDA inference inside your ComfyUI server.
- Ubuntu 26.04
- Node 20
corepack- Python 3.12+
- system libraries required by Electron packaging
Useful packages:
sudo apt install build-essential git curl libgtk-3-dev libnotify-dev libnss3-dev libxss-dev libxtst-dev libatspi2.0-dev libsecret-1-devcorepack enable
corepack yarn installcorepack yarn make:assetsThis pulls in the bundled ComfyUI source, frontend assets, and Linux uv artifacts used by the desktop app.
corepack yarn typecheck
corepack yarn vitest runcorepack yarn makeThat produces:
dist/ComfyUI-0.8.30-amd64.deb- enabled Linux asset bootstrap in
scripts/preMake.js - enabled Linux verification in
scripts/verifyBuild.js - packaged
desktop-uiinto Linux builds - switched Linux target to
.debinconfig/builder-debug.config.ts
- added Linux config-reset handling in
scripts/resetInstall.js - made Linux hardware validation non-fatal in
src/utils.ts - added fallback when compiled requirements are not present in
src/virtualEnvironment.ts - added Linux-safe Electron startup behavior in
src/main.ts
- default install path now prefers an existing
~/ComfyUI - startup now detects a running local server on
127.0.0.1:8188 - persisted external-server mode through desktop config
- skips desktop-managed venv validation when attaching to an existing live server
/opt/ComfyUI
/usr/share/applications/@comfyorgcomfyui-electron.desktop
~/.config/ComfyUI/config.json
~/.config/ComfyUI/logs
- This is an Ubuntu-first Linux port, not a heavily tested multi-distro release.
- The upstream desktop app still assumes Windows/macOS in a few places; this fork patches the important ones, not every cosmetic assumption.
- External-server auto-attach currently targets the common local setup:
- install path:
~/ComfyUI - server:
127.0.0.1:8188
- install path:
- If you run ComfyUI somewhere else, you can still patch the config or source to match your layout.
- App source: https://github.com/Comfy-Org/desktop
- ComfyUI core: https://github.com/comfyanonymous/ComfyUI
- ComfyUI frontend: https://github.com/Comfy-Org/ComfyUI_frontend
This fork remains under the upstream project license:
GPL-3.0-only