Paths
Starting from V3.38, Manager uses a protected system path for enhanced security.User directory
- Default path:
ComfyUI/user - Can be set using
--user-directory <USER_DIRECTORY>
Manager path
| ComfyUI Version | Manager Path |
|---|---|
| v0.3.76+ (with System User API) | <USER_DIRECTORY>/__manager/ |
| Older versions | <USER_DIRECTORY>/default/ComfyUI-Manager/ |
Configuration files
| File | Description |
|---|---|
config.ini | Basic configuration |
channels.list | Configurable channel lists |
pip_overrides.json | Custom pip package mappings |
pip_blacklist.list | Packages to prevent installation |
pip_auto_fix.list | Packages to auto-restore |
snapshots/ | Saved snapshot files |
startup-scripts/ | Startup script files |
components/ | Component files |
Config.ini options
Modify theconfig.ini file to apply settings. The path is displayed in startup log messages.
Network modes
| Mode | Description |
|---|---|
public | Standard public network environment |
private | Closed network with private node DB configured via channel_url (uses cache if available) |
offline | No external connections (uses cache if available) |
Extra model paths
Configure inextra_model_paths.yaml. Settings are applied based on the section marked as is_default:
custom_nodes: Path for installing custom nodesdownload_model_base: Path for downloading models
Environment variables
| Variable | Description |
|---|---|
COMFYUI_PATH | Installation path of ComfyUI |
GITHUB_ENDPOINT | Reverse proxy for GitHub access |
HF_ENDPOINT | Reverse proxy for Hugging Face access |
Examples
GitHub proxy:https://github.com/ltdrdata/ComfyUI-Impact-Pack to https://mirror.ghproxy.com/https://github.com/ltdrdata/ComfyUI-Impact-Pack
Hugging Face proxy:
https://huggingface.co/path/to/somewhere to https://some-hf-mirror.com/path/to/somewhere
Advanced configuration
Prevent package downgrades
List package names indowngrade_blacklist in config.ini, separated by commas:
Custom pip mapping
Createpip_overrides.json to change installation of specific pip packages. Refer to pip_overrides.json.template for format.
Prevent pip package installation
List package names one per line inpip_blacklist.list.
Auto-restore pip packages
List pip spec requirements inpip_auto_fix.list (similar to requirements.txt). Packages are automatically restored when starting ComfyUI or when versions get mismatched.
--index-url can be used.
Use aria2 as downloader
See the aria2 setup guide for configuration.Security policy
Set security level inconfig.ini:
Security levels
| Level | Description |
|---|---|
strong | Doesn’t allow high and middle level risky features |
normal | Doesn’t allow high level risky features; middle level available |
normal- | Doesn’t allow high level risky features if --listen is specified and not starts with 127.; middle level available |
weak | All features available |
Risk levels
High risk features:- Install via git URL, pip install
- Installation of custom nodes not in the default channel
- Fix custom nodes
- Uninstall/Update
- Installation of custom nodes in the default channel
- Restore/Remove Snapshot
- Restart
- Update ComfyUI