install_custom_node
Install ComfyUI custom nodes using registry ID, git URL, or node name. Pin versions and choose installation mode.
Instructions
Install a ComfyUI custom node pack by registry id, git URL, or name. Local installs prefer official comfy-cli when available; remote or CLI-unavailable installs use the ComfyUI-Manager HTTP API. A ComfyUI restart may be required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registry id, git URL, or node-pack name to install. | |
| ref | No | Git ref (commit SHA, branch, or tag) to pin when installing a git URL. Overrides any ref parsed from the URL and any `version` value. Ignored for registry-id installs. | |
| mode | No | ComfyUI-Manager data source mode (default 'remote'): 'remote' fetches the live node list, 'local'/'cache' use bundled/cached data. | |
| source | No | How to interpret `id` (default 'auto', which detects git URLs vs registry ids). | |
| channel | No | ComfyUI-Manager channel name (default 'default'). | |
| version | No | Version to install (e.g. 'latest', 'nightly', or a semver). For git installs, this is treated as a git ref unless `ref` is also provided. Registry installs default to 'latest'. | |
| useCmCli | No | Force the official comfy-cli subprocess instead of the ComfyUI-Manager HTTP API. Local operations use comfy-cli by default; set false to force Manager HTTP. Requires a local ComfyUI install. |