CLI
Reference
CLI
Nodes
Usage:
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
deps-in-workflow
disable
enable
fix
install
install-deps
reinstall
restore-dependencies
restore-snapshot
save-snapshot
: Save a snapshot of the current ComfyUI…show
simple-show
uninstall
update
deps-in-workflow
Usage:
Options:
--workflow TEXT
: Workflow file (.json/.png) [required]--output TEXT
: Workflow file (.json/.png) [required]--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
disable
Usage:
Arguments:
ARGS...
: disable custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
enable
Usage:
Arguments:
ARGS...
: enable custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
fix
Usage:
Arguments:
ARGS...
: fix dependencies for specified custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
install
Usage:
Arguments:
ARGS...
: install custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
install-deps
Usage:
Options:
--deps TEXT
: Dependency spec file (.json)--workflow TEXT
: Workflow file (.json/.png)--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
reinstall
Usage:
Arguments:
ARGS...
: reinstall custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
restore-dependencies
Usage:
Options:
--help
: Show this message and exit.
restore-snapshot
Usage:
Arguments:
PATH
: [required]
Options:
--help
: Show this message and exit.
save-snapshot
Save a snapshot of the current ComfyUI environment
Usage:
Options:
--output TEXT
: Specify the output file path. (.json/.yaml)--help
: Show this message and exit.
show
Usage:
Arguments:
ARGS...
: [installed|enabled|not-installed|disabled|all|snapshot|snapshot-list] [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
simple-show
Usage:
Arguments:
ARGS...
: [installed|enabled|not-installed|disabled|all|snapshot|snapshot-list] [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
uninstall
Usage:
Arguments:
ARGS...
: uninstall custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
update
Usage:
Arguments:
ARGS...
: update custom nodes [required]
Options:
--channel TEXT
: Specify the operation mode--mode TEXT
: [remote|local|cache]--help
: Show this message and exit.
Models
Usage:
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
download
: Download a model to a specified relative…list
: Display a list of all models currently…remove
: Remove one or more downloaded models,…
download
Download a model to a specified relative path if it is not already downloaded.
Usage:
Options:
--url TEXT
: The URL from which to download the model [required]--relative-path TEXT
: The relative path from the current workspace to install the model. [default: models/checkpoints]--help
: Show this message and exit.
list
Display a list of all models currently downloaded in a table format.
Usage:
Options:
--relative-path TEXT
: The relative path from the current workspace where the models are stored. [default: models/checkpoints]--help
: Show this message and exit.
remove
Remove one or more downloaded models, either by specifying them directly or through an interactive selection.
Usage:
Options:
--relative-path TEXT
: The relative path from the current workspace where the models are stored. [default: models/checkpoints]--model-names TEXT
: List of model filenames to delete, separated by spaces--help
: Show this message and exit.
Was this page helpful?