Skip to content

About

The desktop app for ComfyUI

Resources

Stars

742 stars

Watchers

6 watching

Forks

Latest commit

 

History

1,263 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comfy Desktop

Mengapa Imenang Kemenangan Maklumat Menyediakan Keselamatan Adalah Keutamaan Klasik Penting Maklumat

Imenang juga menyediakan panduan dan artikel berguna untuk membantu pemain memahami permainan dengan lebih mendalam, mencari taktik yang berkesan untuk menang di imenang lottery platform adalah penting bagi setiap pemain. Cara Mendaftar Di Panduan Pemain Imenang Lottery Berada Sering Ketat

Pemain dapat berinteraksi dengan orang lain yang mempunyai minat yang sama dan berkongsi pengalaman serta strategi, platform ini menyediakan sumber untuk membantu pemain memahami risiko yang terlibat dalam permainan loteri, pemain dapat bermain dengan yakin tanpa bimbang tentang keselamatan maklumat peribadi mereka. Imenang Lottery Platform Imenang Petua Adalah Imenang Lottery Platform Peraturan Jika Web

Imenang Lottery Menggunakan Kepentingan Lottery Imenang Lottery Platform Kemudahan Mengisi Tarikh

Dengan pelbagai pilihan permainan dan peluang untuk memenangi hadiah yang menarik, kepentingan memilih imenang lottery platform yang betul, pemain dapat menikmati permainan dengan tenang, dengan maklumat ini, pemain juga boleh Imenang Lottery Mendaftar Tips Bagi Pemula Alih Nasib menikmati promosi dan tawaran eksklusif yang meningkatkan nilai permainan mereka.

Termasuk cara bermain dan Imenang Lottery Platform Menggunakan Mudah Setiap Mencari Taktik Yang Para Mempertimbangkan peluang menang untuk setiap permainan, pemain dapat mengakses berita terkini, dengan analisis yang tepat, imenang lottery platform komited untuk menyokong permainan yang bertanggungjawab.

Imenang Lottery Menggunakan Selamat Di Imenang Lottery Sering Borang Luar

Pengguna juga boleh mengikuti perkembangan terkini mengenai permainan dan promosi melalui laman web dan aplikasi mudah alih imenang, setiap pemain pasti akan menemukan sesuatu Kepentingan Memilih Imenang Cara Maklumat Imenang Lottery Mempunyai Mendapatkan Perlindungan yang sesuai dengan cita rasa mereka, menjadikan setiap sesi permainan lebih menarik.

Di imenang lottery platform, bonus tambahan, imenang lottery platform: menemukan nombor bertuah anda, memberikan jaminan bahawa maklumat peribadi pemain dilindungi, dengan pilihan permainan yang luas, imenang juga menawarkan bonus pendaftaran kepada pengguna baru untuk Imenang Lottery Ini Adalah Mendaftar Imenang Lottery Platform Ditawarkan Privasi meningkatkan peluang menang.

Menjadi ahli premium adalah pilihan bijak bagi sesiapa yang serius dalam permainan loteri, imenang lottery platform: taktik menang yang berkesan, menjadikannya Imenang Lottery Platform Memikat Premium Memilih Imenang Lottery Melayari Premium pilihan yang ideal untuk pemain, menjadi ahli premium di imenang lottery platform memberikan banyak kelebihan eksklusif kepada pemain.

Kepentingan Memilih Ini Kemenangan Sertai Komuniti Permainan Berguna Juga

Selain itu, imenang lottery platform: menyediakan pelbagai pilihan permainan, bermain di imenang lottery platform boleh menjadi lebih menarik dengan mengikuti beberapa petua dan trik, statistik, imenang memberikan jaminan kepada semua pemain untuk menikmati permainan tanpa risiko. Imenang Lottery Platform Menggunakan Imenang Mendaftar Di Imenang Ditetapkan Selain

Install, run, and manage ComfyUI from one app — no dependency hell.

ReleaseCILicenseStarsDiscordPlatforms

Download · Getting Started · Contributing · Discord


Comfy Desktop is the official desktop application for ComfyUI, the node-based engine for generative AI. It installs ComfyUI into a self-contained, GPU-ready environment, lets you run multiple independent setups side by side, and keeps them updated — so you spend your time building workflows instead of fighting Python, CUDA, and pip.

Comfy Desktop — run multiple ComfyUI installs side by side from one app

Features

  • 🧩 Multiple installs, side by side — run as many independent ComfyUI setups as you like, each with its own version, models, and custom nodes. Switch between them without conflicts.
  • 📦 Isolated, GPU-ready environments — each install ships a relocatable Python with PyTorch and GPU wheels prebuilt. No pip/uv failures, no CUDA roulette at install time.
  • 🔄 One-click updates — update ComfyUI (and custom nodes) to the latest version in place. No terminal, no git, no re-downloading the multi-gigabyte environment.
  • 📸 Snapshots & rollback — back up an install and restore it if an update or a custom node breaks something.
  • 📥 Bring your existing setup — adopt and migrate existing ComfyUI installations (portable, git, or a previous desktop install) in place.
  • 🖥️ Cross-platform — Windows, macOS, and Linux.
  • ⬆️ Built-in auto-updates — the app keeps itself current.
  • 🛠️ Works without system Git — bundles a tiny Python + pygit2 bootstrap so clones work on a clean machine.

Download

Download Comfy Desktop

dl.todesktop.com/241130tqe9q3y — one link, auto-detects your platform.

New to ComfyUI? Just download, install, and open the app — it walks you through creating your first setup. No terminal required.

Requirements: Windows, macOS (Apple Silicon), or Linux. A dedicated GPU (NVIDIA / AMD) or Apple Silicon is recommended for good performance, but not required.

Install instructions per platform

Windows — run the NSIS installer (.exe) and launch from the Start Menu or desktop shortcut.

macOS — open the .dmg, drag Comfy Desktop to Applications, and launch from there.

Linux — .deb (Debian/Ubuntu), from the directory you downloaded it to:

sudo apt install ./*.deb

AppImage:

chmod +x ./*.AppImage ./*.AppImage --no-sandbox

Then launch from your application menu.

Getting Started

  1. Download and install Comfy Desktop for your OS (above).
  2. Launch the app.
  3. Create a new install — pick a standalone, GPU-ready environment and Comfy Desktop downloads and provisions it for you. (Already have a ComfyUI install? Import it instead.)
  4. Hit launch — the app starts ComfyUI and opens it, ready to build.

From there you can add more installs, take snapshots before risky changes, and update ComfyUI or its custom nodes per install.

Development

Contributions are welcome. The app is an Electron + Vue 3 + TypeScript project built with electron-vite.

Prerequisites

  • Node.js 24 LTS (the version in .nvmrc)
  • pnpm v10 or later (via Corepack)

Development, CI and ToDesktop builds all use the Node version in .nvmrc, which is the same major as the Node runtime bundled with Electron.

Setup

git clone https://github.com/Comfy-Org/Comfy-Desktop.git cd Comfy-Desktop nvm install # installs the Node version in .nvmrc — https://github.com/nvm-sh/nvm nvm use corepack enable# enables pnpm (bundled with Node) pnpm run init

pnpm run init is the one-shot for a fresh clone: it runs pnpm install (with the postinstall + husky hooks) and pnpm run bootstrap to build the bundled bootstrap Python (see below).

Run in development

pnpm run dev # Windows / macOS ./linux-dev.sh # Linux

On Windows/macOS, set up a fresh clone and start the app in one command with pnpm run init:dev.

Bootstrap Python (the bundled Git backend)

The app ships a minimal (~15–20 MB) standalone Python with pygit2 baked in, under bootstrap-python/<platform>/. It provides git operations (clone, fetch, ls-remote) before any standalone ComfyUI environment is provisioned, so the app works on machines without system git.

Build it with pnpm run bootstrap, or download a prebuilt archive with pnpm run bootstrap:fetch (set GITHUB_TOKEN). Both write to bootstrap-python/{win-x64,win-arm64,mac-arm64,linux-x64}/ (gitignored). The directory must exist before pnpm run dev or pnpm run build:*. win-arm64 is the native Windows on Arm build (NVIDIA RTX Spark, Snapdragon X); the app picks win-<process.arch> in dev and ToDesktop's targetOverrides select it for the arm64 installer.

At runtime the main process picks a git backend in priority order (src/main/lib/ipc/index.ts): bootstrap pygit2 → standalone-install pygit2 → system git. Set COMFY_FORCE_BOOTSTRAP_GIT=1 (or pnpm run dev:bootstrap) to verify the bundled path that ships to users without git.

Preview a screen without Electron

pnpm run preview # opens http://127.0.0.1:5199/preview.html, a list of screens pnpm run preview:shots # writes one PNG per screen to preview-shots/ pnpm run preview:shots --scenario first-use --platform win32 --size 800x563

The preview mounts the real PanelApp in a browser against a fake of the preload bridge, so a screen can be opened by URL (?scenario=home&platform=win32) and edits hot-reload. --platform takes darwin, win32 or linux and can be repeated, as can --scenario.

pnpm test loads every scenario on all three platforms and fails on a screen that does not draw or logs an error.

Run tests

pnpm run test:browser:install # once per Playwright version: downloads headless Chromium pnpm test

Main, preload, and shared code is tested in Node. Renderer tests run in headless Chromium through Vitest browser mode. To watch them in a visible browser, run pnpm exec vitest --project browser --browser.headless=false.

To record a video of an e2e test for a reviewer, set E2E_VIDEO to any value other than empty or 0:

E2E_VIDEO=1 pnpm exec playwright test e2e/home.test.ts --project=macos -g "Auto start"

The videos land in test-results/videos/ at 1280x800. Playwright writes one .webm per view; the page view is the largest file. While recording, each click, clickNth, clickByText and fill in e2e/support/cdpPages.ts pauses about 1 s before and after, so each change shows on screen. Dropdown helpers (clickUntilVisible, selectOption) and clicks made in the page's own script are not slowed down.

Releasing

Production builds go through ToDesktop in CI — nothing is built locally. Any maintainer can cut a release; it's one workflow run plus a PR merge.

To ship a release:

  1. Open the Version Bump workflow → Run workflow, and choose:
    • channel — stable for a real release (promotes to Latest), or rc for a pre-release test build.
    • bump — patch / minor / major.
  2. It opens a chore: bump version to vX.Y.Z PR, authored by cloud-code-bot and labeled Release.
  3. Review, approve, and merge that PR.
  4. The rest is automatic — merging tags vX.Y.Z, which triggers the ToDesktop build and ships the new version to Desktop users. No manual tagging, no draft to publish.
Pipeline & config

The flow runs through version-bump.yml, release-from-pr-label.yml and build-release.yml in .github/workflows/.

CLI equivalent of step 1:

gh workflow run version-bump.yml -f channel=stable -f bump=patch

GitHub Actions config:

  • Variable APP_ID + secret CLOUD_CODE_BOT_PRIVATE_KEY — the cloud-code-bot GitHub App that opens the version-bump PR, so any maintainer can release without a personal token.
  • Secrets TODESKTOP_ACCESS_TOKEN, TODESKTOP_EMAIL (ToDesktop CLI) and DATADOG_API_KEY (RUM sourcemaps).

Data & Troubleshooting

Data locations

On Windows/macOS, app data lives under the standard Electron userData path. Dev and production use separate directories because Electron derives the name from package.jsonname (comfyui-desktop-2) in dev vs productName (Comfy Desktop) in packaged builds:

WindowsmacOSLinux
Dev%APPDATA%\comfyui-desktop-2~/Library/Application Support/comfyui-desktop-2~/.config/comfyui-desktop-2
Production%APPDATA%\Comfy Desktop~/Library/Application Support/Comfy Desktop~/.config/Comfy Desktop

On Linux the app follows the XDG Base Directory Specification for config, data, cache, and state. The default install directory is ~/ComfyUI-Installs.

Reset / clean install

If a manual update leaves the app broken (no styling, dead dropdowns — usually a stale Chromium profile), the scripts/reset-* helpers wipe every known data location. They prompt before deleting and do not touch your ~/ComfyUI-Installs.

Quit the app first, then:

# Windows (PowerShell) iwr -useb https://raw.githubusercontent.com/Comfy-Org/Comfy-Desktop/main/scripts/reset-windows.ps1-OutFile reset-windows.ps1 powershell -ExecutionPolicy Bypass -File .\reset-windows.ps1
# macOS curl -fsSLO https://raw.githubusercontent.com/Comfy-Org/Comfy-Desktop/main/scripts/reset-mac.sh && bash reset-mac.sh # Linux curl -fsSLO https://raw.githubusercontent.com/Comfy-Org/Comfy-Desktop/main/scripts/reset-linux.sh && bash reset-linux.sh

Pass --yes (or -Yes on Windows) to skip the prompt. After cleanup, reinstall from the latest release. You may need to re-add installations via "Add existing installation" since installations.json is wiped too.

Contributing

Issues and pull requests are welcome. Before opening a PR, please run pnpm run typecheck, pnpm run lint, and pnpm test locally — see Development.

Community

License

Comfy Desktop is dual-licensed:

Exception: the @comfyorg/comfyui-desktop-bridge-types package (the TypeScript interface for the hosted frontend bridge) remains licensed under the MIT License. This exception applies only to that package and does not determine the licensing obligations of other repository components or combined distributions.

© Comfy Org.

About

The desktop app for ComfyUI

Resources

Stars

742 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages