Automate 3000+ Apps AI Support Chatbot Rent Cloud GPUs Smart Forms Free Rank In AI Search Track Your Rankings
Automate 3000+ Apps AI Support Chatbot
Free Email Marketing AI Data Analyst Funnels + Email Free AI Agent Workspace Build AI Apps No Code No-Code AI Agents
Home » Local AI Image Generation on Mac » ComfyUI on Mac

How to Install and Run ComfyUI on a Mac

The easiest way to run ComfyUI on a Mac is Comfy Desktop, a normal installer from comfy.org that sets up everything for Apple Silicon. If you prefer the terminal, pip install comfy-cli followed by comfy install does the same job. ComfyUI runs on a Mac and supports nearly every image and video model, but it was built for NVIDIA cards first, so expect it to be slower than Mac native tools and to hit a few Mac only errors, mainly with model files saved in a format called FP8.

What ComfyUI Is

So ComfyUI is a visual workspace where an image generation job is drawn as a graph. Each box, called a node, does 1 thing: load a model, turn a prompt into numbers, run the sampler, decode the result, save the file. You connect the boxes with wires and the picture flows through them. It looks intimidating the first time, like a wiring diagram, and that is exactly the point of it, nothing is hidden.

The reason people put up with that is the graph can be anything. Generate an image, upscale it, repaint the face, feed it to a video model, add frames in between, all in 1 run, saved as a file you can share. When a new model comes out, a ComfyUI workflow for it usually exists within a day or 2. ComfyUI basically means "I want to control every step and chain steps nobody else thought of", where an app like Draw Things means "I want a picture".

Should You Use It on a Mac?

The honest answer is that on a Mac it is the second choice for images and the first choice for complicated video. For plain image generation and LoRA training, the tools written for Apple Silicon, mflux and Draw Things, are faster, lighter on memory and far less likely to throw an error. ComfyUI runs through PyTorch's Apple backend, which works, and which gets less attention than the NVIDIA path that nearly all of its users are on.

Now the case where it flips. If you need a multi step pipeline, the newest video model, a specific community workflow you found online, or a ControlNet setup with several inputs, ComfyUI is where that lives and nothing else comes close. So the question is not which tool is better, it is whether your job is 1 step or 10.

Step by Step

Step 1: Choose the install route. There are 2 that make sense on a Mac. Comfy Desktop is an app with an installer, recommended by the ComfyUI project as the easiest way to start on macOS. comfy-cli is the official command line tool, better if you want to script things or keep several installs.
Step 2: Install. For the desktop app, download it from comfy.org/download, open it, and follow the setup, it installs its own Python and the right PyTorch build. For the command line route, use a virtual environment so it does not tangle with other Python tools.
python3 -m venv ~/comfy-env
source ~/comfy-env/bin/activate
pip install comfy-cli
comfy install

The ComfyUI project says Python 3.13 is very well supported and 3.14 works, with the warning that some custom nodes may not have caught up to the newest version. If your system Python is older, install a current one with Homebrew first (brew install python@3.13).

Step 3: Start it. Open the desktop app, or from the terminal run the launch command. ComfyUI starts a small local web server and you use it from a browser, the default address is http://127.0.0.1:8188.
source ~/comfy-env/bin/activate
comfy launch
Step 4: Load a template workflow. Do not build a graph from scratch on day 1. ComfyUI ships with templates for the popular models, open the template browser, pick one for a model that fits your memory, and it will offer to download the model files that workflow needs.
Step 5: Know where model files go. When you download files by hand, each kind has its own folder under models in the ComfyUI directory. Put a file in the wrong folder and the node that needs it will not see it, which is the most common "it is not in the list" problem.
ComfyUI/models/
  checkpoints/        all in one model files
  diffusion_models/   the main model alone (most newer models)
  text_encoders/      the part that reads the prompt
  vae/                the part that turns results into pixels
  loras/              LoRA files
  controlnet/         ControlNet models

Newer models are usually shipped as 3 separate pieces, the diffusion model, 1 or 2 text encoders, and a VAE, each going in its own folder. The workflow's notes normally list exactly which files it wants.

Step 6: Queue a generation. Find the text node holding the prompt, change it, and press the run button. Nodes light up as they execute. The first run is slow because the model has to load, later runs reuse it.

The Mac Specific Problems

FP8 model files fail. Many large models are distributed in a compact format called FP8 to fit on NVIDIA cards. Apple's graphics layer does not support that number type, and loading one gives an error mentioning Float8_e4m3fn. The fix is to download a different version of the same model, either the full 16 bit file (bigger, needs more memory) or a GGUF file.

GGUF is the Mac friendly format. GGUF files are quantized, meaning shrunk to 4, 5, 6 or 8 bits per number, the same idea as in the language model world. They need a custom node called ComfyUI-GGUF, which adds loader nodes for them. On a Mac, a Q6 or Q8 GGUF is usually the right pick, close to full quality at a fraction of the memory. Install custom nodes through the built in manager, or from the terminal with comfy node install followed by the node's name.

It is slower than the Mac native tools. The same model can take noticeably longer per step in ComfyUI than in mflux or Draw Things. If you find a model you like in ComfyUI and it is also supported in a native tool, run it there for everyday use. There is also a community node set, Mflux-ComfyUI, that runs mflux inside a ComfyUI graph, which gets you the native speed with the node interface for the models it covers.

Some custom nodes assume NVIDIA. A workflow from the internet may include a node that only works with CUDA. The error will usually say so. Look for a replacement node or a simpler version of the workflow.

Memory fills up across runs. ComfyUI keeps models loaded so the next run starts fast. Switching between several large models in 1 session can push a Mac into swap. Restarting ComfyUI clears it, and watching the Memory tab in Activity Monitor tells you when you are close.

What ComfyUI Is Best At on a Mac

Video. This is the main reason to install it. The Wan and LTX video models, image to video, first and last frame control, frame interpolation and upscaling all have ComfyUI workflows, and the graph lets you chain them. It is slow on a Mac, a published test on a 64 GB M1 Max took 82 minutes for a 2 second Wan 2.2 clip, so read generating AI video locally on a Mac before planning anything around it.

Multi step image pipelines. Generate, then upscale, then repaint details, in 1 run. Or use 3 ControlNets at once to hold a pose, a depth map and an outline.

Running someone else's workflow. A ComfyUI image file can carry its whole workflow inside it. Drag one into the window and the graph that made it appears, which is the fastest way to learn how a result was achieved.

Automation through its API. The local server that runs the interface also accepts workflows as JSON over HTTP, so a script can queue jobs. That is a workable way to drive it from other tools, as covered in calling a local image model from a script.

Keeping It Updated

ComfyUI moves fast, with releases most weeks, and a workflow built for a new model often needs the newest version. Comfy Desktop updates itself. With the command line install, comfy update pulls the latest core, and custom nodes are updated from the manager. Update before trying a workflow for a model released in the last month or so, and expect that an update will now and then break an older custom node until its author catches up, which is the price of being where the new things land first.

What It Is Not Good At

Training. There are training nodes, and LoRA training on a Mac is better done with mflux or Draw Things, as in how to train a LoRA on a Mac. And being simple, if all you want is a prompt box and a picture, the graph is overhead you do not need.

Install it for the jobs only it can do. Use Comfy Desktop, start from the built in templates, choose GGUF model files over FP8 on a Mac, and keep a Mac native tool for everyday images. ComfyUI earns its place when the job has more than 1 step.