BeClaude

comfygit

New
9Community RegistryGeneralby Alex Katz

CLI and library for managing ComfyUI environments with version control and dependency management

First seen 5/22/2026

Summary

comfygit is a CLI tool and library that brings Git-like version control and dependency management to ComfyUI environments.

  • It enables developers to create isolated environments, commit changes, roll back broken nodes, and share reproducible setups with a single command, all while avoiding duplicate model storage.

Overview

![Documentation](https://docs.comfygit.org/) ![License: GPL-3.0](LICENSE.txt) ![Discord](https://discord.gg/2h5rSTeh6Y)

Git for your ComfyUI environments — version control, package management, and reproducible sharing.

Status: Early release, actively developed. Feedback welcome via GitHub Issues or Discord.

<img width="2400" height="813" alt="Gemini_Generated_Image_gg9thvgg9thvgg9t - Copy" src="https://github.com/user-attachments/assets/8d215b1a-c59e-4f03-855c-170e05cfa5f7" />

Highlights

  • 🔄 Isolated environments — test new nodes without breaking production
  • 📦 Git-based versioning — commit changes, rollback when things break
  • 🚀 One-command sharing — export/import complete working environments
  • 💾 Smart model management — content-addressable index, no duplicate storage
  • 🔧 Standard tooling — built on UV and pyproject.toml, works with Python ecosystem
  • 🖥️ Cross-platform — Windows, Linux, macOS

[!NOTE]

For a visual UI inside ComfyUI, check out ComfyGit Manager

How Is This Different From ComfyUI Manager?

ComfyUI Manager helps you browse, install, and update custom nodes in a single shared ComfyUI setup. ComfyGit focuses on isolated, version-controlled environments you can reproduce and share anywhere.

  • ComfyUI Manager: manage nodes in-place (one environment)
  • ComfyGit: create per-project environments with commits, branches, rollback, export/import

Installation

bash
# With UV (recommended)
uv tool install comfygit

# Or with pip
pip install comfygit

Need UV? See UV installation.

Quick Start

console
$ cg init
Initialized ComfyGit workspace at ~/comfygit

$ cg create my-project --use
Created environment 'my-project'
Active environment: my-project

$ cg node add comfyui-impact-pack
Resolving comfyui-impact-pack...
Installing ComfyUI-Impact-Pack from registry
 + [email protected]

$ cg commit -m "Initial setup with Impact Pack"
[main a28f333] Initial setup with Impact Pack
 1 file changed, 15 insertions(+)

$ cg -e my-project run
Starting ComfyUI at http://localhost:8188

What About My Existing Setup?

ComfyGit creates new, isolated ComfyUI environments inside your ComfyGit workspace. Your existing ComfyUI install (and anything in it) is untouched.

Models are stored once and symlinked into environments, so you can share the same model library across projects without duplicating storage.

For your first environment, expect roughly ~2GB of downloads for ComfyUI and base dependencies.

See the documentation for more examples including version control workflows, sharing environments, and team collaboration.

Documentation

Full documentation at [docs.comfygit.org](https://docs.comfygit.org/) including:

Features

Environments

bash
cg create <name>              # Create new environment
cg list                       # List all environments
cg use <name>                 # Set active environment
cg status                     # Show environment state
cg run                        # Run ComfyUI

Nodes

bash
cg node add <id>              # Add from registry
cg node add <github-url>      # Add from GitHub
cg node remove <id>           # Remove node
cg node list                  # List installed nodes

Version Control

bash
cg commit -m "message"        # Save snapshot
cg log                        # View history
cg revert <commit>            # Undo a commit
cg checkout <commit>          # Explore old state

Sharing

bash
cg export <file.tar.gz>       # Export environment
cg import <file.tar.gz>       # Import environment
cg push / cg pull             # Sync with git remote

Contributing

Contributions welcome! See CONTRIBUTING.md for details.

License

ComfyGit is licensed under GPL-3.0.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install comfygit@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Test new custom nodes in an isolated environment without risking your production ComfyUI setup.
Roll back to a previous working state when a node update breaks your workflow.
Share a complete ComfyUI environment (nodes, models, config) with a colleague using one export command.
Manage multiple ComfyUI projects with different dependencies using Git-based versioning.
Avoid duplicate model storage across environments using content-addressable indexing.
Integrate ComfyUI environment setup into CI/CD pipelines for reproducible testing.

Usage Examples

1

/comfygit init my-project to create a new isolated ComfyUI environment.

2

/comfygit commit -m 'added LoRA support' to save the current environment state.

3

/comfygit export --output environment.zip to share your complete setup with a teammate.

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is comfygit?

comfygit is a CLI tool and library that brings Git-like version control and dependency management to ComfyUI environments. It enables developers to create isolated environments, commit changes, roll back broken nodes, and share reproducible setups with a single command, all while avoiding duplicate model storage.

How to install comfygit?

To install comfygit: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install comfygit@<marketplace>. Finally, /plugin in Claude Code.

What is comfygit best for?

comfygit is a plugin categorized under General. Created by Alex Katz.

What can I use comfygit for?

comfygit is useful for: Test new custom nodes in an isolated environment without risking your production ComfyUI setup.; Roll back to a previous working state when a node update breaks your workflow.; Share a complete ComfyUI environment (nodes, models, config) with a colleague using one export command.; Manage multiple ComfyUI projects with different dependencies using Git-based versioning.; Avoid duplicate model storage across environments using content-addressable indexing.; Integrate ComfyUI environment setup into CI/CD pipelines for reproducible testing..