DiffHub Logo
HomeWorkflowsGlossaryGuidesComparison
DiffHub Logo
DiffHub Logo

Master ComfyUI and diffusion models with comprehensive education and community support.

Resources

  • Glossary
  • Service Comparison
  • Blog
  • Contact
  • About

Stay Updated

Get the latest tutorials, tips, and news delivered to your inbox.

No spam, unsubscribe at any time.

This site contains affiliate links. We may earn a commission from purchases made through these links at no additional cost to you.

© 2025 DiffHub. All rights reserved.
Privacy PolicyTerms of ServiceSupport
Guides
Complete ComfyUI Installation & Setup Guide
Back to Guides
General
Beginner

Complete ComfyUI Installation & Setup Guide

A comprehensive guide to help you learn.

15 min

title: "Complete ComfyUI Installation & Setup Guide" category: "Beginner" difficulty: "Easy" duration: "25 min" description: "Master the complete installation process for ComfyUI with ComfyUI Manager and workflow management." tags: ["Installation", "Setup", "ComfyUI Manager", "Getting Started"] hasVideo: true hasDownload: true featured: true

Complete ComfyUI Installation & Setup Guide

Master the installation process for ComfyUI, the revolutionary node-based AI image generation platform that's transforming creative workflows worldwide.

What You'll Learn

By the end of this comprehensive guide, you'll have:

  • A fully functional ComfyUI installation
  • ComfyUI Manager configured and ready
  • Understanding of workflow loading and management
  • Knowledge of node installation and model management

Understanding ComfyUI

ComfyUI represents the cutting edge of AI-powered creative tools, offering unprecedented control over image and video generation through its innovative node-based architecture. This powerful open-source platform enables creators to harness advanced local AI models for everything from photorealistic image generation to complex compositing workflows.

The platform's modular node system provides granular control over every aspect of the generation process, allowing users to combine and customize AI models with surgical precision. Whether you're crafting cinematic masterpieces or exploring experimental visual styles, ComfyUI's thriving open-source ecosystem makes it the ultimate creative laboratory for artists, developers, and AI innovators.

System Requirements

Before proceeding, ensure your system meets these requirements:

  • Windows 10/11 (this guide focuses on Windows installation)
  • NVIDIA GPU with CUDA support (recommended)
  • At least 8GB RAM (16GB+ preferred)
  • 20GB+ free disk space for models and workflows

Step-by-Step Installation Process

Step 1: Acquiring ComfyUI

1
Download the Application

Begin your ComfyUI journey by obtaining the software from the official source:

  1. Navigate to the Official Repository: Visit the ComfyUI GitHub page to access the latest version
  2. Select the Portable Version: For maximum compatibility and ease of use, choose the portable version over the desktop app
  3. Download the Archive: Click "Direct link to download" to get ComfyUI_windows_portable_nvidia.7z
  4. Extract to Your System: Unzip the downloaded archive to any convenient location on your computer
Pro Tip

The portable version is recommended because it's self-contained, doesn't require system-wide installation, and has been extensively tested by the community.

Download ComfyUI

Step 2: Installing Git

2
Set Up Version Control

Git is essential for managing ComfyUI's dependencies and custom nodes:

  1. Access Git Downloads: Visit the official Git download page
  2. Choose Standalone Installer: Download the Windows Standalone Installer
  3. Run Installation: Execute the installer with all default settings - no modifications needed
Why Git is Required

Git enables ComfyUI to automatically download and manage custom nodes, models, and updates from various repositories across the internet.

Install Git

Step 3: Configuring ComfyUI Manager

The ComfyUI Manager is your gateway to the vast ecosystem of custom nodes and extensions. This essential tool allows you to easily install, update, and manage custom nodes that extend ComfyUI's capabilities.

3
Download the Installation Script

Begin by obtaining the ComfyUI Manager installation script:

  1. Visit the Manager Repository: Navigate to the ComfyUI Manager GitHub page
  2. Locate Installation Section: Scroll down to find the "Installation" area
  3. Download the Script: Right-click on scripts/install-manager-for-portable-version.bat and select "Save Link As..."
  4. Place in ComfyUI Directory: Save the file directly in your ComfyUI_windows_portable root folder
Security Notice

Windows Defender may flag the installation script. This is normal for batch files. Click "More info" then "Run anyway" to proceed safely.

Download ComfyUI Manager
4
Execute the Installation Process

Now let's run the installation script and monitor the complete setup process:

  1. Run the Installation Script: Double-click the saved .bat file to begin installation
  2. Handle Security Prompts: If Microsoft Defender appears, click "More info" followed by "Run anyway"
  3. Monitor Progress: Watch the command window as it downloads and configures the manager
  4. Wait for Completion: Allow the process to finish completely before proceeding
Run Installation ScriptInstallation Progress
Manager Installation Step 3Manager Installation Step 4
Manager Installation Complete
Installation Complete!

The ComfyUI Manager is now integrated into your installation and ready to manage custom nodes automatically. You'll see the Manager button in your ComfyUI interface once you launch the application.

Step 4: Launching ComfyUI

5
Start the Application

Begin your ComfyUI experience:

  1. Navigate to Main Directory: Open your ComfyUI installation folder
  2. Execute the Launcher: Double-click run_nvidia_gpu to start ComfyUI
  3. Wait for Initialization: Allow the system to load all components
  4. Access the Interface: ComfyUI will automatically open in your default web browser
Pro Tip

The first launch may take longer as ComfyUI initializes all its components and checks for available models.

Start ComfyUI
ComfyUI Starting Process
Welcome to ComfyUI!

Your ComfyUI installation is now running with the ComfyUI Manager fully integrated and ready for creative exploration.

ComfyUI Interface

Working with Workflows

Loading Your First Workflow

6
Import Workflow Files

Learn to load and work with ComfyUI workflows:

  1. Drag and Drop Method: Simply drag any .json workflow file directly into the ComfyUI browser window
  2. Automatic Loading: The workflow will automatically load and display all its nodes and connections
  3. Verify Components: Check that all nodes are properly connected and visible
Workflow File Types

ComfyUI supports both .json workflow files and JPEG images with embedded workflow metadata.

Load Workflow
7
Working with Image Metadata

Harness the power of embedded workflow data:

  1. JPEG with Metadata: Drag JPEG files that contain workflow information directly into ComfyUI
  2. Automatic Extraction: The system will automatically extract and load the embedded workflow
  3. Preserve Workflow History: Every image saved with the Save Image node includes its complete workflow data
Pro Tip

This feature is incredibly useful for sharing and reproducing specific image generation results.

Load JPEG Metadata
Embedded Workflow

Managing Custom Nodes

8
Handling Missing Nodes

When workflows require additional components:

  1. Identify Missing Nodes: ComfyUI will display clear messages about any missing custom nodes
  2. Access the Manager: Click on the ComfyUI Manager button at the top of the interface
  3. Select Installation Option: Choose "Install Missing Custom Nodes" from the manager menu
  4. Bulk Installation: Select all missing nodes and install them simultaneously
Restart Required

After installing new nodes, you must restart ComfyUI for the changes to take effect.

Missing Nodes Message
Open ComfyUI Manager
Install Missing Nodes
Restart ComfyUI

Model Management

9
Adding Required Models

Expand your creative capabilities with additional models:

  1. Identify Required Models: Check workflow documentation for any additional model requirements
  2. Download Models: Use provided links to download necessary model files
  3. Organize by Type: Place models in their designated folders (checkpoints, VAEs, LoRAs, etc.)
  4. Refresh the System: Press R in the ComfyUI interface to refresh the model list
Model Organization

Proper model organization is crucial for ComfyUI performance. Each model type has its specific folder structure.

Add Models

Getting Started Tips

Best Practices for New Users

10
Optimize Your Setup

Maximize your ComfyUI experience from day one:

  1. Test with Free Workflows: Always start with free versions to ensure system compatibility
  2. Read Documentation: Thoroughly review workflow notes and requirements before beginning
  3. Backup Your Setup: Keep copies of your working configurations
  4. Join the Community: Connect with other users for support and inspiration

Troubleshooting Common Issues

If you encounter problems:

  1. Check System Requirements: Verify your hardware meets ComfyUI's specifications
  2. Review Error Messages: Read any error messages carefully for specific guidance
  3. Community Support: Visit the ComfyUI Discord #need-help channel
  4. Provide Detailed Information: When seeking help, include screenshots, error messages, and system specifications
Need Additional Help?

If you're still experiencing issues after following this guide, the ComfyUI community is incredibly supportive. Be sure to provide as much detail as possible when asking for help.

Next Steps

Congratulations! You now have a fully functional ComfyUI installation. Here's what you can explore next:

Recommended Learning Path

  1. Master Basic Workflows: Start with simple text-to-image generation
  2. Explore Custom Nodes: Discover the vast library of community-created extensions
  3. Experiment with Models: Try different checkpoint models and LoRAs
  4. Join Advanced Techniques: Learn inpainting, ControlNet, and style transfer

Community Resources

  • Official Documentation: ComfyUI GitHub Repository
  • Community Discord: ComfyUI Discord Server
  • Workflow Library: Explore thousands of shared workflows
  • Model Resources: Access the latest models and checkpoints

Download Setup Checklist

Conclusion

You've successfully completed the ComfyUI installation process! This powerful platform is now ready to transform your creative ideas into stunning AI-generated content. Remember:

  • Start with simple workflows and gradually increase complexity
  • Keep your installation updated with the latest custom nodes
  • Join the community to share your creations and learn from others
  • Experiment freely - ComfyUI's node-based system encourages creative exploration
Ready to Create!

Your ComfyUI installation is complete and ready for unlimited creative possibilities. Happy generating!

Related Guides