Configuration paths
Starting from V3.38, Manager uses a protected system path for enhanced security.If executed without any options, the
<USER_DIRECTORY> path defaults to ComfyUI/user. It can be set using --user-directory <USER_DIRECTORY>.Configuration files
Config.ini options
Modify theconfig.ini file to apply settings. The path is displayed in startup log messages.
Network modes
Security levels
Risk levels for features
Environment variables
Examples
Redirecting GitHub requests through a proxy:Advanced configuration
Prevent downgrade of specific packages
List package names in thedowngrade_blacklist section of config.ini, separated by commas:
Custom pip mapping
Create apip_overrides.json file to change the installation of specific pip packages to user-defined installations. Refer to pip_overrides.json.template for the format.
Prevent installation of specific pip packages
List package names one per line in thepip_blacklist.list file.
Automatically restore pip installation
List pip spec requirements inpip_auto_fix.list (similar to requirements.txt). It will automatically restore specified versions when starting ComfyUI or when versions get mismatched during custom node installations. --index-url can be used.
Use aria2 as downloader
For faster downloads, you can configure ComfyUI-Manager to use aria2. See the aria2 setup guide.extra_model_paths.yaml configuration
The following settings are applied based on the section marked asis_default:
custom_nodes: Path for installing custom nodesdownload_model_base: Path for downloading models
CLI tools
ComfyUI-Manager providescm-cli, a command line tool that allows you to use Manager features without running ComfyUI. This is useful for automating custom node installation and managing installations in headless environments.
For detailed cm-cli documentation, see the official cm-cli guide.
For a more comprehensive CLI experience, consider using comfy-cli.