Skip to main content

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 the config.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:
Changing Hugging Face endpoint:

Advanced configuration

Prevent downgrade of specific packages

List package names in the downgrade_blacklist section of config.ini, separated by commas:

Custom pip mapping

Create a pip_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 the pip_blacklist.list file.

Automatically restore pip installation

List pip spec requirements in pip_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 as is_default:
  • custom_nodes: Path for installing custom nodes
  • download_model_base: Path for downloading models

CLI tools

ComfyUI-Manager provides cm-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.