comfy-cliInstall, manage, and run ComfyUI instances. Use when setting up ComfyUI, launching servers, installing/updating/debugging custom nodes, downloading models from CivitAI/HuggingFace, managing workspaces, running API workflows, or troubleshooting node conflicts with bisect.
Install via ClawdBot CLI:
clawdbot install johntheyoung/comfy-cliInstall comfy-cli (uv):
Install comfy-cli (uv)Requires:
CLI tool for managing ComfyUI installations, custom nodes, and models.
comfy install # Install ComfyUI + ComfyUI-Manager
comfy launch # Start ComfyUI server
comfy node install ComfyUI-Impact-Pack # Install a custom node
comfy model download --url "https://civitai.com/api/download/models/12345"
comfy install # Interactive GPU selection
comfy install --nvidia # NVIDIA GPU
comfy install --amd # AMD GPU (Linux ROCm)
comfy install --m-series # Apple Silicon
comfy install --cpu # CPU only
comfy install --restore # Restore deps for existing install
comfy install --pr 1234 # Install specific PR
comfy install --version latest # Latest stable release
comfy install --version 0.2.0 # Specific version
GPU options: --nvidia, --amd, --intel-arc, --m-series, --cpu
CUDA versions (NVIDIA): --cuda 12.9, --cuda 12.6, --cuda 12.4, --cuda 12.1, --cuda 11.8
Other flags: --skip-manager, --skip-torch-or-directml, --skip-requirement, --fast-deps
comfy launch # Foreground mode
comfy launch --background # Background mode
comfy launch -- --listen 0.0.0.0 # Pass args to ComfyUI
comfy stop # Stop background instance
comfy launch --frontend-pr 1234 # Test frontend PR
Global flags (mutually exclusive):
comfy --workspace /path/to/ComfyUI ... # Explicit path
comfy --recent ... # Last used instance
comfy --here ... # Current directory
comfy which # Show selected instance
comfy set-default /path/to/ComfyUI # Set default
comfy node show # List installed nodes
comfy node simple-show # Compact list
comfy node install <name> # Install from registry
comfy node install <name> --fast-deps # Fast dependency install
comfy node reinstall <name> # Reinstall node
comfy node uninstall <name> # Remove node
comfy node update all # Update all nodes
comfy node disable <name> # Disable node
comfy node enable <name> # Enable node
comfy node fix <name> # Fix node dependencies
Snapshots:
comfy node save-snapshot # Save current state
comfy node save-snapshot --output snapshot.json
comfy node restore-snapshot snapshot.json
comfy node restore-dependencies # Restore deps from nodes
Debugging:
comfy node bisect # Binary search for broken node
comfy node deps-in-workflow workflow.json # Extract deps from workflow
comfy node install-deps --workflow workflow.json # Install workflow deps
Publishing:
comfy node init # Init scaffolding
comfy node scaffold # Create project via cookiecutter
comfy node validate # Validate before publishing
comfy node pack # Package node
comfy node publish # Publish to registry
comfy model list # List available models
comfy model download --url <url> # Download from URL
comfy model remove <name> # Remove model
Sources: CivitAI, Hugging Face, direct URLs
Tokens for gated models:
--civitai-token or config civitai_api_token--hf-token or config hf_api_tokencomfy run --workflow workflow_api.json
comfy run --workflow workflow.json --wait --verbose
comfy run --workflow workflow.json --host 192.168.1.10 --port 8188
Requires running ComfyUI instance.
comfy manager disable-gui # Hide manager in UI
comfy manager enable-gui # Show manager in UI
comfy manager clear # Clear startup actions
comfy update all # Update ComfyUI + nodes
comfy update comfy # Update ComfyUI only
comfy env # Show config and paths
comfy --version # Print CLI version
comfy pr-cache list # List cached PR builds
comfy pr-cache clean # Clear expired caches
comfy standalone # Create standalone Python bundle
comfy tracking enable|disable # Manage analytics
comfy feedback # Submit feedback
Location:
~/.config/comfy-cli/config.ini~/Library/Application Support/comfy-cli/config.ini%APPDATA%\Local\comfy-cli\config.iniKeys: default_workspace, default_launch_extras, civitai_api_token, hf_api_token
--skip-prompt for non-interactive mode (CI/scripts)comfy stopcomfy node bisect binary-searches to find which node broke your setupGenerated Mar 1, 2026
A creative agency needs to deploy ComfyUI for generating marketing visuals. The comfy-cli tool streamlines installation with GPU-specific options, manages custom nodes for specialized workflows, and downloads models from CivitAI, reducing setup time from days to hours.
A university research team uses ComfyUI for experimenting with AI image generation models. comfy-cli helps them manage multiple workspaces, install and update custom nodes via the registry, and use snapshots to reproduce experiments, ensuring consistency across team members.
An independent developer creates and publishes custom nodes for ComfyUI. comfy-cli provides scaffolding, validation, and publishing commands to package nodes efficiently, while bisect debugging helps troubleshoot conflicts in client installations, speeding up development cycles.
A tech company integrates ComfyUI into automated content generation pipelines. comfy-cli enables running workflows via API, managing models from Hugging Face with tokens, and using background launches for server stability, supporting scalable production deployments.
Offer comfy-cli as a free open-source tool to build a user base. Generate revenue through paid enterprise support, custom integration services, and priority troubleshooting for large-scale deployments, leveraging the tool's advanced features like bisect and snapshots.
Use comfy-cli as a gateway to a curated marketplace where developers sell premium custom nodes. The CLI facilitates easy installation and updates, with revenue from commissions on sales, subscriptions for node validation tools, and featured listings for high-demand nodes.
Provide a cloud-based service where users can deploy and manage ComfyUI instances via comfy-cli commands. Monetize through tiered subscriptions based on usage, GPU resources, and features like automated model downloads and workflow scheduling, targeting businesses needing reliable AI infrastructure.
💬 Integration Tip
Integrate comfy-cli into CI/CD pipelines using --skip-prompt for automated testing, and leverage workspace flags to manage multiple ComfyUI instances across development and production environments.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.