▶YouTube
AI Skills

How to Install ComfyUI and Generate Your First AI Image

November 12, 2026 · NextGenTip · 46 views

ComfyUI is a free, open-source tool for generating and editing AI images with a visual node workflow. This guide shows how to install it with one command and create your first image.

What is ComfyUI?

ComfyUI is a free, open-source tool for generating and editing images with AI. Instead of typing a prompt into a single box, you build a flow of connected nodes on a canvas: one node loads a model, another sets the prompt, another controls the size, and the last one saves the picture. That node-based design makes it easy to see exactly what happens at each step, reuse a setup that worked, and change one part without rebuilding the whole thing. It runs on your own computer, it is modular and easy to extend, and its source code and README are published on GitHub.

What can you do with ComfyUI?

Because the workflow is visible, it suits people who want to understand and control the generation process rather than accept a black-box result.

How to install ComfyUI

Installation is a single command. Open a terminal — on Windows, press Start, type PowerShell and press Enter; on macOS, open Terminal — then paste this line and press Enter:

pip install comfy-cli

Wait for the install to finish. The command installs the ComfyUI command-line tool, which sets the program up for you.

If you use a GPU, the project's README covers the matching PyTorch builds for your hardware, including nightly builds for AMD graphics cards on Linux with ROCm, PyTorch for Intel XPU, and stable or nightly PyTorch for Nvidia cards. Follow the README section for your card so the right build is installed.

First steps after installing

Start ComfyUI and open the default workflow in your browser. Load a model, type a short prompt, and generate your first image to confirm everything works. Then try changing one node at a time — the prompt, the image size, or the sampler — and watch how the result changes. Save any workflow you like so you can load it again later instead of rebuilding it from scratch.

Frequently asked questions

Is ComfyUI free? Yes. It is an open-source project on GitHub, and you can download and use it free of charge.

Is it hard to install? No. One command is enough.

What if I see a "Torch not compiled with CUDA enabled" error? The README's fix is to uninstall PyTorch and install it again with the correct command for your graphics card. Run:

pip uninstall torch

Then reinstall PyTorch using the command from the README that matches your graphics card.

How do I uninstall ComfyUI? The removal command listed for it is:

pip uninstall torch

That command removes the PyTorch library the tool depends on, so check the README for the full removal steps for your setup.

← Back to all guides

Comments (0)

Leave a comment