install_custom_node
Install ComfyUI custom node packages by registry ID, git URL, or node name. Uses ComfyUI-Manager API with CLI fallback; restart may be needed.
Instructions
Install a ComfyUI custom node pack by registry id (e.g. 'comfyui-impact-pack'), git URL, or name. Uses the ComfyUI-Manager HTTP API (works against remote instances) and falls back to the cm-cli subprocess when forced. A ComfyUI restart may be required to load newly installed nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registry id, git URL, or node-pack name to install. | |
| source | No | How to interpret `id` (default 'auto', which detects git URLs vs registry ids). | |
| version | No | Version to install (e.g. 'latest', 'nightly', or a semver). Registry installs only; defaults to 'latest'. | |
| mode | No | ComfyUI-Manager data source mode (default 'remote'): 'remote' fetches the live node list, 'local'/'cache' use bundled/cached data. | |
| channel | No | ComfyUI-Manager channel name (default 'default'). | |
| useCmCli | No | Force the cm-cli.py subprocess instead of the ComfyUI-Manager HTTP API. Requires a local ComfyUI install (COMFYUI_PATH); errors in remote --comfyui-url mode. |