cm-cli
: ComfyUI-Manager CLIcm-cli
is a tool that allows you to use various functions of ComfyUI-Manager from the command line without launching ComfyUI.
-= ComfyUI-Manager CLI (V2.24) =-
python cm-cli.py [OPTIONS]
OPTIONS:
[install|reinstall|uninstall|update|disable|enable|fix] node_name ... ?[--channel <channel name>] ?[--mode [remote|local|cache]]
[update|disable|enable|fix] all ?[--channel <channel name>] ?[--mode [remote|local|cache]]
[simple-show|show] [installed|enabled|not-installed|disabled|all|snapshot|snapshot-list] ?[--channel <channel name>] ?[--mode [remote|local|cache]]
save-snapshot ?[--output <snapshot .json/.yaml>]
restore-snapshot <snapshot .json/.yaml> ?[--pip-non-url] ?[--pip-non-local-url] ?[--pip-local-url]
cli-only-mode [enable|disable]
restore-dependencies
clear
python cm-cli.py
.python cm-cli.py update all
.python custom_nodes/ComfyUI-Manager/cm-cli.py update all
..\python_embeded\python.exe ComfyUI\custom_nodes\ComfyUI-Manager\cm-cli.py update all
WARN: The `COMFYUI_PATH` environment variable is not set. Assuming `custom_nodes/ComfyUI-Manager/../../` as the ComfyUI path.
python cm-cli.py update all --channel recent --mode remote
will operate based on the latest information from remote rather than local data embedded in the current ComfyUI-Manager repo and will only target the list in the recent channel.simple-show, show, install, uninstall, update, disable, enable, fix
.[simple-show|show] [installed|enabled|not-installed|disabled|all|snapshot|snapshot-list] ?[--channel <channel name>] ?[--mode [remote|local|cache]]
[show|simple-show]
- show
provides detailed information, while simple-show
displays information more simply.Executing a command like python cm-cli.py show installed
will display detailed information about the installed custom nodes.
-= ComfyUI-Manager CLI (V2.24) =-
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ ENABLED ] ComfyUI-Manager (author: Dr.Lt.Data)
[ ENABLED ] ComfyUI-Impact-Pack (author: Dr.Lt.Data)
[ ENABLED ] ComfyUI-Inspire-Pack (author: Dr.Lt.Data)
[ ENABLED ] ComfyUI_experiments (author: comfyanonymous)
[ ENABLED ] ComfyUI-SAI_API (author: Stability-AI)
[ ENABLED ] stability-ComfyUI-nodes (author: Stability-AI)
[ ENABLED ] comfyui_controlnet_aux (author: Fannovel16)
[ ENABLED ] ComfyUI-Frame-Interpolation (author: Fannovel16)
[ DISABLED ] ComfyUI-Loopchain (author: Fannovel16)
Using a command like python cm-cli.py simple-show installed
will simply display information about the installed custom nodes.
-= ComfyUI-Manager CLI (V2.24) =-
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
ComfyUI-Manager
ComfyUI-Impact-Pack
ComfyUI-Inspire-Pack
ComfyUI_experiments
ComfyUI-SAI_API
stability-ComfyUI-nodes
comfyui_controlnet_aux
ComfyUI-Frame-Interpolation
ComfyUI-Loopchain
[installed|enabled|not-installed|disabled|all|snapshot|snapshot-list]
enabled
, disabled
: Shows nodes that have been enabled or disabled among the installed custom nodes.installed
: Shows all nodes that have been installed, regardless of whether they are enabled or disabled.not-installed
: Shows a list of custom nodes that have not been installed.all
: Shows a list of all custom nodes.snapshot
: Displays snapshot information of the currently installed custom nodes. When viewed with show
, it is displayed in JSON format, and with simple-show
, it is displayed simply, along with the commit hash.snapshot-list
: Shows a list of snapshot files stored in ComfyUI-Manager/snapshots.[install|reinstall|uninstall|update|disable|enable|fix] node_name ... ?[--channel <channel name>] ?[--mode [remote|local|cache]]
python cm-cli.py install ComfyUI-Impact-Pack ComfyUI-Inspire-Pack ComfyUI_experiments
.show
and are the names of the git repositories.
(Plans are to update the use of nicknames in the future.)[update|disable|enable|fix] all ?[--channel <channel name>] ?[--mode [remote|local|cache]]
The update, disable, enable, fix
functions can be specified for all.
Detailed Operations
install
: Installs the specified custom nodes.reinstall
: Removes and then reinstalls the specified custom nodes.uninstall
: Uninstalls the specified custom nodes.update
: Updates the specified custom nodes.disable
: Disables the specified custom nodes.enable
: Enables the specified custom nodes.fix
: Attempts to fix dependencies for the specified custom nodes.python cm-cli.py save-snapshot [--output <snapshot .json/.yaml>]
: Saves the current snapshot.
--output
, you can save a file in .yaml format to any specified path.python cm-cli.py restore-snapshot <snapshot .json/.yaml>
: Restores to the specified snapshot.
--pip-non-url
: Restore for pip packages registered on PyPI.--pip-non-local-url
: Restore for pip packages registered at web URLs.--pip-local-url
: Restore for pip packages specified by local paths.You can set whether to use ComfyUI-Manager solely via CLI.
cli-only-mode [enable|disable]
restore-dependencies
ComfyUI/custom_nodes
path but their dependencies are not installed.In the GUI, installations, updates, or snapshot restorations are scheduled to execute the next time ComfyUI is launched. The clear
command clears this scheduled state, ensuring no pre-execution actions are applied.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。