python3 -m venv ~/venvs/comfyui
source ~/venvs/comfyui/bin/activate
pip install -U comfy-cli
comfy install --latest
# 默认装到 ~/comfyui
comfy launch
#终端出现
#Starting server
#To see the GUI go to: http://127.0.0.1:8188
#更新
comfy update
镜像节点
在 ~/comfyui 里新建 .env 文件,写入
HF_ENDPOINT=https://hf-mirror.com
ComfyUI-Manager 和多数节点会优先读这个变量,速度直接起飞。