# Repository Briefing: Comfy-Org/Comfy-Desktop
> Source: https://repoforai.com/repo/Comfy-Org/Comfy-Desktop (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Comfy-Org/Comfy-Desktop
- **Official Docs / Website**: https://one-comfy-new-ui.vercel.app
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: TypeScript
- **License**: See repository
- **Engineering Health**: A (77/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 6/20)
- **Latest Release**: v1.2.3 (2026-12-04) — https://github.com/Comfy-Org/Comfy-Desktop/releases
- **Review Snapshot**: 2026-12-01 (Note: v1.2.3 on 2026-12-04 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: Local AI
- **Momentum**: 874 ★ total (+5 24h / +42 7d) · 113 forks
- **When to Use**: Best for: Local ComfyUI users who want a working setup alongside an experimental one, with guided provisioning, per-installation updates, and rollback. Skip if: You need a headless deployment, a verified air-gapped installation path, or full control over a scripted Python and GPU stack.

## Overview
```text
### Architecture & Core Mechanics
Comfy Desktop is an installation and lifecycle manager for ComfyUI, not a replacement for its inference engine. The shell uses Electron, Vue 3, and TypeScript, built with electron-vite. The renderer accesses desktop functions through a typed preload bridge defined in `src/types/ipc.ts`. On creation, Desktop provisions the selected standalone environment; on launch, it starts ComfyUI locally and opens its interface. The node graph runs in ComfyUI’s Python/PyTorch environment, and custom nodes extend that engine rather than Electron.

Provisioning has a separate bootstrap layer: a roughly 15–20 MB standalone Python with `pygit2` supplies clone, fetch, and ls-remote before the full runtime exists, without requiring system Git. `electron-updater` is present for the desktop update lifecycle, which is distinct from updates to individual ComfyUI installations. The renderer preview mounts the real `PanelApp` against a typed fake `ElectronApi`, making it possible to check screen behavior and bridge interface changes without launching Electron. These preview tests do not substitute for exercising real GPU provisioning.

### Key Capabilities & Differentiators
Each ComfyUI installation can have its own engine version, models, and custom nodes. New environments use relocatable Python with prebuilt PyTorch and GPU wheels. Existing portable, Git-based, or earlier desktop installations can be adopted in place. ComfyUI and custom nodes can be updated per installation without downloading the entire environment again, and an installation snapshot provides a recovery point for a bad update.

Desktop manages the environment rather than imposing a model catalog. Model and format compatibility still depends on the chosen ComfyUI version, nodes, and runtime. Windows, Apple Silicon macOS, and Linux are listed as platforms, with NVIDIA or AMD discrete graphics or Apple Silicon recommended for performance. That is not a GPU-by-OS compatibility matrix or a memory guarantee for any particular workflow.

### Trade-offs & Limitations
Compared with direct Git or portable ComfyUI, Desktop trades some control of Python and GPU package selection for guided provisioning, per-installation updates, and rollback. That is useful when a working installation must survive experiments with custom nodes. The costs are a separate desktop process and potentially more disk use when environments or model files are duplicated. Isolation of dependencies is not a security sandbox for custom node code. RAM and VRAM sizing still depends on the graph, models, batch size, and concurrent workloads.

Local inference is also distinct from offline distribution or a no-telemetry policy. The dependency manifest includes Datadog browser RUM and `posthog-node`; their presence does not establish what is sent or under which settings. Review those behaviors and the installer and update channels before deploying to restricted machines. A root LICENSE file exists, but its terms are unspecified here, so verify redistribution rights separately for the shell, engine, nodes, and models.

### Hardware & Deployment Guide
Install the Windows NSIS executable, drag the macOS app from its DMG into Applications, or use the Linux DEB or AppImage. In the app, create a new installation by choosing and downloading a standalone environment, or add an existing setup. Inference runs locally, but a fresh download and online updates require connectivity; do not assume an air-gapped installation path. The Linux AppImage invocation uses `--no-sandbox`, so review that distribution path against your endpoint policy.

Source development requires Node.js 24 LTS (the package specifies `>=24.13.0`) and pnpm 10 or later. Run `pnpm run init`, then `pnpm run dev` on Windows or macOS, or `./linux-dev.sh` on Linux. Development builds can take over `comfy://` links; `COMFY_DRAFT_APP_LINKS=0` leaves them with the installed app. Production artifacts go through ToDesktop in CI. At the supplied release point, v1.1.10 is stable and v1.2.0-rc.1 is a prerelease; choose the stable channel if you do not need to validate upcoming builds.
```

## Key Capabilities
```text
- Execution boundary: The Electron/Vue 3 desktop app manages installations; local ComfyUI executes node graphs in a Python/PyTorch environment.
- Isolated installations: ComfyUI version, models, and custom nodes can vary per installation, letting you test changes without modifying the working setup.
- Bootstrap: A roughly 15–20 MB standalone Python with pygit2 handles clone, fetch, and ls-remote before a ComfyUI environment exists.
- Recovery: Snapshot an installation before updating ComfyUI or its custom nodes, and restore it if the change breaks a workflow.
- Renderer testing: Browser previews mount the real PanelApp against a typed fake ElectronApi, with scenarios exercised across Windows, macOS, and Linux settings.
- Release channels: ToDesktop builds ship through CI, with v1.1.10 as the stable release and v1.2.0-rc.1 as a prerelease.
```

## Quick Start / Clone
```bash
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
```
