Installation Methods
There are three primary ways to install custom nodes:ComfyUI Manager
Easiest method with GUI
Manual Git Clone
Direct installation
comfy-cli
Command-line tool
Using ComfyUI Manager
The recommended method for most users.Setup
Installing Nodes
Manual Installation
Install extensions manually using git.Prerequisites
- Git installed on your system
- Write access to the ComfyUI directory
Installation Steps
Example
Using comfy-cli
The official ComfyUI command-line tool.Installation
Managing Extensions
Managing Installed Extensions
Updating Extensions
Via Manager
- Open ComfyUI Manager
- Navigate to Update tab
- Select extensions to update
- Click Update
- Restart ComfyUI
Via Git
Disabling Extensions
To temporarily disable an extension without removing it:- Rename Method
- Manager Method
Rename the extension folder:Restart ComfyUI.
Removing Extensions
To completely remove an extension:Finding Extensions
Official Sources
ComfyUI Manager
Browse extensions directly in the Manager UI
GitHub
Search GitHub for “comfyui-” repositories
Popular Extensions
Some popular categories of extensions:- Image Processing: Advanced filters, effects, and transformations
- ControlNet: Additional ControlNet models and processors
- Video: Video generation and processing nodes
- Utilities: Workflow helpers, converters, and tools
- Model Loaders: Support for additional model formats
Extension Structure
Understanding extension structure helps with troubleshooting:Extension Configuration
Model Paths
Some extensions require specific model files. Configure paths inextra_model_paths.yaml:
Environment Variables
Some extensions use environment variables:Troubleshooting
Extension Not Loading
Check Console Output
Check Console Output
Look for error messages when starting ComfyUI:Common errors:
- Import errors (missing dependencies)
- Syntax errors in extension code
- Duplicate node IDs
Verify Dependencies
Verify Dependencies
Ensure all required packages are installed:
Check Compatibility
Check Compatibility
Verify the extension is compatible with your ComfyUI version:
- Check the extension’s README
- Look for version requirements
- Check the extension’s issue tracker
File Permissions
File Permissions
Ensure ComfyUI has read access:
Import Errors
If you see import errors:Conflicting Extensions
If two extensions conflict:- Check node IDs: Extensions may register nodes with the same ID
- Disable one: Temporarily disable one extension
- Check logs: Look for conflict messages in the console
- Contact authors: Report the issue to extension maintainers
Performance Issues
If ComfyUI becomes slow after installing extensions:Security Considerations
Safety Checklist
Before Installing
Before Installing
- Review the extension’s source code on GitHub
- Check the repository’s stars and forks
- Read user reviews and issues
- Verify the author is trustworthy
- Check when it was last updated
Code Review
Before installing, review critical files:__init__.py- Entry point- Node execution code
- Any file operations
- Network requests
Best Practices
Keep Updated
Regularly update extensions for bug fixes and features
Backup Workflows
Save workflows before installing new extensions
Test Separately
Test new extensions in isolation before using in production
Document Dependencies
Keep track of which workflows use which extensions
Version Control
Track your custom nodes with git:- Revert problematic updates
- Track which extensions you have
- Share your setup with others
Advanced Topics
Shared Model Paths
Share models between ComfyUI and other UIs usingextra_model_paths.yaml:
Custom Extension Development
To create your own extensions:Creating Nodes
Learn to create custom nodes
Node API
Complete API reference
Next Steps
Manager Overview
Learn more about ComfyUI Manager
Best Practices
Best practices for using extensions