To install ComfyUI for Stable Diffusion workflows, use Comfy Desktop on Windows, macOS, or Linux for the easiest local setup, then add one checkpoint model and run the default text-to-image workflow. The ComfyUI software licence fee is $0 under GPL-3.0. You still need suitable hardware, model files with licences you accept, and time to learn the node graph.
Quick Answer
To install ComfyUI for Stable Diffusion workflows, use Comfy Desktop on Windows, macOS, or Linux for the easiest local setup, then add one checkpoint model and run the default text-to-image workflow. The ComfyUI software licence fee is $0 under GPL-3.0. You still need suitable hardware, model files with licences you accept, and time to learn the node graph.
In this article
- How we checked this guide
- Read this first: node engine, licence, and model licences
- What ComfyUI replaces, and what it does not
- How nodes, models, and workflows fit together
- Routes to install ComfyUI
- Requirements before you install
- Step 1: install Comfy Desktop
- Step 2: install ComfyUI manually from GitHub
- Step 3: add your first model
- Step 4: run your first workflow
- Step 5: save and reuse a workflow
- First-run security steps you must not skip
- Backup and update routine
- Common errors and fixes
- Tips and tricks that save money
- The real cost maths
- When not to install ComfyUI
- Pros and cons
- Our verdict
- FAQ
- Strategic Pivot
- Sources
How we checked this guide
We checked this guide on December 4, 2026, against ComfyUI’s official GitHub repository, its system-requirements page, its Comfy Desktop guide, its manual-install guide, and its troubleshooting page. We checked Midjourney plan prices on official Midjourney Docs.
One naming point matters before you install. The repository now sits under Comfy-Org, and the official README calls Comfy Desktop the recommended way to install ComfyUI on Windows and macOS. Manual Git installs and the Windows Portable build still exist for readers who need control over Python and PyTorch versions.
That route choice shapes this whole guide. Desktop is the first route for most small-business readers. Manual install is the route for Linux servers, custom Python setups, and anyone who wants every version choice in their own hands.
Read this first: node engine, licence, and model licences

ComfyUI is a node-graph engine for diffusion models. Instead of one prompt box hiding every step, you connect visible nodes for the model, the prompt, the sampler, and the saved image. That visible chain is the point: when an image looks wrong, you can see which stage produced it.
The ComfyUI software licence is GPL-3.0. GitHub lists the repository licence as GNU General Public License v3.0. In plain words, the software carries a $0 licence fee, and GPL terms govern copying, modifying, and distributing the software itself.
That grant covers ComfyUI. It does not cover the model you load, the custom nodes you add, or the images you sell. Each checkpoint, LoRA, and workflow component can carry its own terms, so a business must check the model licence before commercial use.
This distinction is where careless installs go wrong. A free engine plus a non-commercial model is still a non-commercial setup. The install steps below keep the engine, the model, and the output as three separate decisions.
ComfyUI fits a designer, marketer, or technical operator who wants repeatable image workflows on their own machine. It is a poor fit when the reader wants one prompt box, no model files, and no maintenance at all.
What ComfyUI replaces, and what it does not
ComfyUI replaces the rented prompt box for repeatable local image work. A product-photo workflow, a social-post workflow, or a character-consistency workflow can be saved once and run again with the same nodes, settings, and seed discipline.
It can replace part of a cloud image subscription when your machine can run the models you need. The licence fee for the engine is $0, local generation does not consume a subscription’s GPU hours, and your prompts and input images stay on your computer in a local-only setup.
ComfyUI does not replace taste, editing, or rights checks. A workflow can produce a hundred on-brand drafts and still need a human to pick one, fix hands or text, and confirm the model licence allows the use. The node graph makes the process repeatable; it does not make every output publishable.
It also does not replace a managed service’s support desk. You own the GPU drivers, the Python environment on a manual install, the model folders, and every custom node you add. The $0 licence removes a software fee; it does not remove operations work.
Best for: a small business that repeats image workflows and wants local control over models, settings, and files. Skip if: you need a managed prompt box with vendor support and no local maintenance.
For the paid side of this decision, see our best AI image generators for business guide. For designer-specific stacks, see our AI tools for graphic designers guide. ComfyUI’s difference is the visible, reusable node workflow.
How nodes, models, and workflows fit together
Think of three layers, and keep them separate when troubleshooting. Nodes are the steps. Models are the files those steps load. The workflow is the saved chain that connects them.
A basic text-to-image workflow loads a checkpoint, turns your prompt into conditioning with CLIP text-encode nodes, creates an empty latent image, samples it with a KSampler, decodes it, and saves the image. The official first-image tutorial builds exactly that chain with seven nodes.
ComfyUI natively supports many model families. The README lists Stable Diffusion 1.5, SDXL, SD3.5, and Flux.1 among its image-generation support, plus image-editing, video, audio, and 3D families. Your hardware decides which of those families are practical, not the menu.
Workflows save as JSON. You can also drag an image, video, audio, or 3D file made with ComfyUI back onto the canvas and recover the full workflow that made it, seeds included. That recovery habit is gold for a business: the output file carries its own recipe.
Custom nodes extend the graph. They are also code running on your machine, which is why the security section below treats every node pack as a software decision, not a decoration.
Routes to install ComfyUI
| Route | Best for | Main requirement | Watch out for |
|---|---|---|---|
| Comfy Desktop | Most Windows, macOS, and Linux readers | A supported OS and disk space for the build | Desktop tracks the stable release by default |
| Windows Portable | Advanced Windows users who want the latest commits | The package matching your GPU | You manage updates and dependencies yourself |
| Manual Git install | Linux, servers, and custom Python setups | Git, Python 3.12 to 3.14, and PyTorch for your GPU | The wrong PyTorch wheel is the classic failure |
| Comfy Cloud | Readers with no suitable local GPU | A Comfy account | Cloud credits are spent while the GPU runs; it is not self-hosting |
This guide uses Desktop first and manual install second. Desktop is the recommended route in the official README. Manual install is the route that teaches you exactly what Desktop sets up for you.
Requirements before you install
Check your operating system first. Comfy Desktop supports Windows 10 or later, macOS on Apple Silicon, and Linux. Manual installs support Windows, Linux, and macOS with Apple Silicon.
Check your disk space next. A Desktop build needs at least 4.85 GB of free disk space, and model files need much more room on top of that. Budget storage for models before you download your second checkpoint.
Check your GPU honestly. Desktop recommends a dedicated NVIDIA or AMD GPU but does not require one. The README says ComfyUI can run large open-source models on as low as 4 GB of VRAM plus 8 GB of RAM with its weight-streaming technology, but larger models still reward larger cards.
For manual installs, use Python 3.12 to 3.14. The system-requirements page recommends those versions and warns that Python 3.15 can bring dependency and custom-node issues. Use Google Chrome 143 or later for the best interface experience.
Decide your first model before you install. One small Stable Diffusion 1.5 checkpoint proves the whole chain quickly. A giant first download only proves your internet speed.
Step 1: install Comfy Desktop

Go to the official download page and download Comfy Desktop for your operating system. The download page offers Windows x64, Windows ARM64 for NVIDIA systems, macOS for Apple Silicon, and Linux x64 AppImage installers.
Run the installer and open Comfy Desktop. On first launch, a setup screen shows the detected hardware, the build settings, the install location, and the download size. Nothing downloads until you click Install.
Check the detected hardware before you continue. Confirm the GPU or processor shown matches your machine, and confirm the install location sits on a drive with room for models. Fix a wrong detection now, not after a failed first generation.
Tick the terms box and click Install. The Home screen then shows the build installing, then starting, then running. When the build reads Running, open ComfyUI from the Home screen.
Leave the two optional checkboxes as a conscious choice. Anonymous usage sharing and beta features are optional, and beta features need data sharing on. A business machine should enable beta features only when someone owns the consequences.
Step 2: install ComfyUI manually from GitHub

Use the manual route when you need control over Python and PyTorch, or when you run Linux. Create a separate Python environment first, so ComfyUI dependencies do not collide with your other work.
Clone the official repository and enter the folder:
git clone https://github.com/Comfy-Org/ComfyUI.git
cd ComfyUIInstall PyTorch for your hardware before the ComfyUI requirements. For NVIDIA GPUs, the system-requirements page gives the CUDA 13.0 command:
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130Then install the ComfyUI dependencies and start the app:
pip install -r requirements.txt
python main.pyPyTorch 2.7 is the minimum supported version, and a cu130 or newer build is required on NVIDIA 20-series cards and above. AMD, Intel Arc, and Apple Silicon systems use their own PyTorch backends, so follow the matching section of the official manual guide rather than copying the NVIDIA command.
When the server starts, it serves the interface locally. The portable guide names http://127.0.0.1:8188 as the normal address. Keep that loopback address for your first runs; the security section explains why.
Step 3: add your first model
ComfyUI without a model is an empty stage. The Load Checkpoint node needs a checkpoint file, and ComfyUI lists a checkpoint only when the file sits in a checkpoints folder it reads.
For a manual install, put checkpoints in models/checkpoints and VAEs in models/vae. The README names those two folders directly. Other model types have their own folders under models, and each official workflow guide names the folder it expects.
For Comfy Desktop, use the shared models folder. Desktop saves model downloads in the shared folder marked Downloads, and you move the checkpoint file into its checkpoints folder. If ComfyUI is already open, press R so it reads the model folders again.
Start with the tutorial checkpoint. The official first-image tutorial uses v1-5-pruned-emaonly-fp16.safetensors, a Stable Diffusion 1.5 file. A small first model proves loading, sampling, and saving before you spend disk space on larger families.
Check the model licence at download time. Record the model name, its source, and its licence terms in your runbook. A workflow you cannot legally use for client work is a demo, not an asset.
Step 4: run your first workflow
Open a blank workflow or load the default text-to-image workflow. The tutorial chain is Load Checkpoint, two CLIP Text Encode nodes for the positive and negative prompts, Empty Latent Image, KSampler, VAE Decode, and Save Image.
Select your checkpoint in the Load Checkpoint node. The node outputs the model, the text encoder, and the image decoder. If the checkpoint field shows nothing useful, the file is in the wrong folder or ComfyUI has not refreshed its model list.
Write a short, concrete prompt. Name the subject, the setting, and the style in plain words. Keep the first test boring on purpose: one subject, one background, no text in the image. A boring first test isolates install problems from prompt problems.
Click Queue, or press Ctrl+Enter, to run the workflow. The Save Image node shows the result and saves it to the output folder. If generation fails, read the error report before changing settings at random.
Change one variable per run after the first success. Seed, steps, guidance, and resolution all change the output. One change at a time turns experimenting into learning instead of gambling.
Step 5: save and reuse a workflow
Save the workflow as JSON as soon as it produces a keeper. Name the file for the job it does, such as product-photo-white-background, not for the date you made it. A named workflow is a business asset; a forgotten canvas is not.
Keep the output image with its workflow. Because ComfyUI can recover a workflow from a generated file dragged back onto the canvas, the saved image plus the JSON file give you two ways back to the same recipe.
Record the model and settings beside the workflow. Note the checkpoint file name, the sampler settings that mattered, and the licence check you performed. Six months later, that note is the difference between reusing a workflow and rebuilding it.
Use templates for new jobs. The workflow library and built-in templates give maintained starting points for model families you have not used yet. Start from a template, prove it runs, then adapt one node at a time.
Treat custom nodes as the last step, not the first. A workflow that runs on core nodes is portable and debuggable. Add a custom node only when a named job needs it, and record which pack you added.
First-run security steps you must not skip
Keep ComfyUI on your own machine first. The server listens on 127.0.0.1 by default, and the official self-hosting guide warns that the server has no authentication by default. Only bind to a non-loopback address on a network you trust, or put an authenticated reverse proxy in front of it.
Treat custom nodes as code, because they are. A node pack can run Python on your machine with your permissions. Install packs from sources you can name, keep ComfyUI-Manager on its standard security level, and remove packs you no longer use.
Treat partner and API nodes as cloud calls. Partner nodes send your inputs to third-party providers for processing. For client work that must stay local, use the offline options the README names: --offline disables the optional paid API nodes, and --disable-partner-nodes disables only those nodes.
Download models from official sources. A checkpoint file is data your engine loads, and a careless download is a supply-chain risk. Prefer the model author’s official repository, and keep a record of where each file came from.
Keep API keys out of workflows you share. A workflow JSON travels easily between machines, and anything typed into it travels too. Share the recipe, never the credentials.
Backup and update routine
Your backup unit is the workflow folder, the model list, and your configuration. Back up saved workflow JSON files, extra_model_paths.yaml if you use one, and a written list of installed custom-node packs. Models can be downloaded again; your recipes cannot.
Desktop installs track the stable ComfyUI release by default. That stable channel is the right default for a business machine. Switch a build to the latest-commits channel only when a named feature needs it.
For manual installs, update through Git and then refresh dependencies. After each update, run your smallest known-good workflow before trusting the new version on client work. A five-minute smoke test beats a broken deadline.
When an update breaks a workflow, disable custom nodes first. The README troubleshooting steps suggest trying --disable-all-custom-nodes, and temporarily renaming the custom_nodes folder works too. That test separates a core problem from a node-pack problem in one run.
Keep one known-good workflow untouched. Your first successful text-to-image workflow is the canary: if it runs, the core install works, and the fault sits in the newer workflow or its nodes.
Common errors and fixes
ComfyUI will not start. Check the system requirements first, then update your GPU drivers from NVIDIA, AMD, or Intel. The troubleshooting page names those two checks before anything exotic.
Torch is not compiled with CUDA enabled. Your PyTorch wheel does not match your GPU route. NVIDIA systems need the CUDA build, Intel Arc systems need the XPU backend and must not install CUDA wheels, and Apple Silicon uses the MPS backend.
The checkpoint list is empty. The model file is not in a checkpoints folder ComfyUI reads. Move the file into models/checkpoints on a manual install, or the shared checkpoints folder on Desktop, then press R or restart.
Generation fails with a report dialog. Click Show report and read the detailed error. Then verify the model files, check whether a custom node is involved, and confirm other applications are not holding your GPU memory.
Generation is slow or runs out of memory. Lower the resolution or batch size, close other GPU applications, and update PyTorch and the driver. On NVIDIA 20-series and newer, use cu130 or newer with a current driver.
A workflow reports a missing node. The workflow needs a custom-node pack you do not have, or your ComfyUI is older than the workflow. Update ComfyUI, install the named pack from its official source, or rebuild the step with core nodes.
The interface looks broken. Use Google Chrome 143 or later. Earlier Chrome versions have known issues that cause visual glitches and performance problems in ComfyUI.
Tips and tricks that save money
Prove the chain with a small model first. A Stable Diffusion 1.5 test costs minutes and a small download. It verifies the install, the model folder, the sampler, and the output path before a large model enters the picture.
Save workflows before you improve them. The moment a workflow produces a usable image, save the JSON. Improvements then happen on a copy, and the working version stays one file away.
Change one setting per run. Seed, steps, guidance, and resolution interact. Single changes show you what each setting bought, which keeps experiments short and GPU time purposeful.
Share model folders between installs. The extra_model_paths.yaml configuration lets several ComfyUI installs read one model library. One shared library saves disk space and ends the which-folder problem.
Skip performance flags you found in a forum post. The README troubleshooting advice is blunt: flags widely claimed to improve performance usually do the opposite. Current PyTorch, current drivers, and native model formats beat flag folklore.
Use local generation for drafts and paid tools for finalists. A local workflow can produce fifty composition drafts for no per-image fee. Spend subscription GPU hours only on the two or three directions that survive your own review.
The real cost maths

ComfyUI’s licence fee is $0 under GPL-3.0. Comfy Desktop’s local build is free, and its cloud option spends credits only while the GPU runs. Your real local costs are the computer you run it on, your time, and any model or node terms you accept.
Midjourney’s official plan comparison lists Basic at $10 a month or $96 a year, Standard at $30 a month or $288 a year, Pro at $60 a month or $576 a year, and Mega at $120 a month or $1,152 a year. Extra GPU time costs $4 an hour on every plan.
Take one small-business designer who makes product and social images every week. On an existing GPU computer, ComfyUI’s licence and local generation cost $0 a month. The same designer on Midjourney Standard annual billing pays $288 a year, so the local route saves $288 a year before hardware and time.
Privacy changes the comparison. Midjourney Stealth Mode, which keeps generations private, sits on Pro and Mega. Against Pro at $576 a year, a local-only ComfyUI setup keeps prompts and files on your own machine and saves $576 a year in subscription fees, while adding maintenance you must staff yourself.
The break-even line is easy to state. Standard annual billing equals $24 a month, and Pro equals $48 a month. If your extra hardware, rental, or maintenance cost for local generation stays under those lines, ComfyUI wins on cash; above them, the subscription is buying convenience at a fair price.
The maths flips in three situations. First, when you have no suitable GPU and must buy one for a handful of images a month. Second, when nobody will maintain drivers, models, and nodes. Third, when the model licence you want does not allow your commercial use, because a $0 engine cannot fix a restricted model.
The lean choice is ComfyUI on a computer you already own, with one proven workflow and a checked model licence. The full-stack choice is ComfyUI for repeatable local drafts plus a paid plan for the work that needs its models or privacy features. Run both through the calculator in the Strategic Pivot before you commit.
When not to install ComfyUI
Skip ComfyUI when you have no suitable hardware and no budget for it. A cloud plan removes the GPU question entirely, and fighting an undersized machine costs more time than the subscription saves.
Skip it when you want a prompt box, not a workbench. Node graphs reward people who repeat workflows. A once-a-month image need is served better by a managed tool.
Skip it when nobody will maintain the install. Drivers, PyTorch versions, model folders, and custom nodes all need an owner. An unmaintained local install becomes a broken one at the worst moment.
Skip it when your chosen model’s licence blocks your use. Check the model terms before building a client workflow on it. The engine licence and the model licence are separate doors, and both must be open.
Skip it when your team needs vendor support, shared accounts, or a service-level agreement. ComfyUI is powerful open-source software, not a managed platform with a support desk.
Pros and cons
Pros
- $0 GPL-3.0 licence fee for the ComfyUI software
- Visible node workflows you can save, reuse, and debug
- Local generation keeps prompts and files on your machine
- Broad native support for Stable Diffusion, SDXL, and Flux families
- Workflows recoverable from generated files, seeds included
- Desktop, Portable, manual, and cloud routes for different needs
Cons
- Model licences are separate and must be checked per model
- Node graphs take longer to learn than a prompt box
- You own drivers, PyTorch versions, and custom-node upkeep
- Large models still need capable GPU hardware
- No vendor support desk is included
- Custom nodes are code and need security discipline
Our verdict
Install ComfyUI when your business repeats image workflows and wants them under local control. Start with Comfy Desktop, add one small checkpoint, prove the default text-to-image workflow, and save the JSON the moment it works.
The maths favors ComfyUI on hardware you already own: $0 in licence fees against $288 a year for Midjourney Standard on annual billing, or $576 a year for Pro with Stealth Mode. The break-even lines are $24 and $48 a month for hardware and maintenance.
Choose Midjourney when managed models, zero maintenance, and vendor operations matter more. Choose ComfyUI when repeatable workflows, local files, and model choice matter more, and when someone owns the upkeep. Check every model licence before client work, whichever route you pick.
FAQ
Is ComfyUI free for a business?
The ComfyUI software licence fee is $0 under GPL-3.0. You still need hardware, and each model you load carries its own licence, so check the model terms before commercial use.
What is the easiest way to install ComfyUI?
Comfy Desktop is the recommended route on Windows and macOS, and it also supports Linux. It downloads and sets up what ComfyUI needs, tracks the stable release by default, and needs at least 4.85 GB of disk space per build.
What Python version does a manual ComfyUI install need?
Python 3.12 to 3.14 are recommended. Install PyTorch for your GPU first, then run pip install -r requirements.txt, then start the app with python main.py.
Where do ComfyUI model files go?
On a manual install, checkpoints go in models/checkpoints and VAEs in models/vae. On Comfy Desktop, models live in the shared models folder. Press R or restart so ComfyUI reads new files.
When should a small business skip ComfyUI?
Skip it when you have no suitable GPU, nobody will maintain the install, or your chosen model’s licence blocks commercial use. A managed image plan fits those cases better.
Strategic Pivot
Before you commit to any AI image stack, run your own numbers. Our free AI Cost Calculator helps you compare licence fees, subscriptions, and usage spend side by side, so the ComfyUI versus subscription decision rests on your figures, not on a headline price.
Sources
- ComfyUI official GitHub repository and README: https://github.com/Comfy-Org/ComfyUI
- ComfyUI system requirements: https://docs.comfy.org/installation/system_requirements
- Comfy Desktop installation guide: https://docs.comfy.org/installation/desktop/overview
- ComfyUI manual installation guide: https://docs.comfy.org/installation/manual_install
- ComfyUI troubleshooting: https://docs.comfy.org/troubleshooting/overview
- Midjourney plan comparison (official Midjourney Docs): https://docs.midjourney.com/hc/en-us/articles/27870484040333-Comparing-Midjourney-Plans
Price note — updated December 4, 2026: Prices in this post were checked on December 4, 2026. When you are reading this, the price may be lower or higher, so check the official pricing page before buying.
Pros
- $0 GPL-3.0 licence fee for the ComfyUI software
- visible node workflows you can save, reuse, and debug
- local generation keeps prompts and files on your machine
- broad native support for Stable Diffusion, SDXL, and Flux families
- workflows recoverable from generated files, seeds included
- Desktop, Portable, manual, and cloud routes for different needs
Cons
- model licences are separate and must be checked per model
- node graphs take longer to learn than a prompt box
- you own drivers, PyTorch versions, and custom-node upkeep
- large models still need capable GPU hardware
- no vendor support desk is included
- custom nodes are code and need security discipline
Install ComfyUI when your business repeats image workflows and wants them under local control. Start with Comfy Desktop, add one small checkpoint, prove the default text-to-image workflow, and save the JSON the moment it works. The maths favors ComfyUI on hardware you already own: $0 in licence fees against $288 a year for Midjourney Standard on annual billing, or $576 a year for Pro with Stealth Mode. The break-even lines are $24 and $48 a month for hardware and maintenance. Choose Midjourney when managed models, zero maintenance, and vendor operations matter more. Choose ComfyUI when repeatable workflows, local files, and model choice matter more, and when someone owns the upkeep. Check every model licence before client work, whichever route you pick.

2 thoughts on “How to Install ComfyUI for Stable Diffusion Workflows (2026)”