ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

I'm in mainland China. How can I solve the network problems I face when upgrading ComfyUI and pulling GitHub node packages with Git?

Open Sdreamtale opened this issue 4 months ago • 3 comments

Custom Node Testing

Your question

When I'm in mainland China, I often need to use Git to pull custom node packages from GitHub and upgrade ComfyUI. However, the network in mainland China doesn't support Git pulls very well. Does anyone know which VPN can solve this problem? I've tried several VPNs and none of them work well.

Logs


Other

No response

Sdreamtale avatar Aug 11 '25 17:08 Sdreamtale

Move your entire model folder (with all files intact) to a new location for safekeeping → delete the existing ComfyUI folder to ensure a clean reinstall → copy the full absolute path to the location where you’ll install ComfyUI (e.g. "C:\Users\frank\Documents") → open your terminal or command prompt → activate the exact environment you’ve been using for ComfyUI so it won’t reinstall packages in a different one (e.g. conda activate comfyui) → use cd to change directory into the copied path → once you’re inside that folder, run pip install comfy-cli to get the ComfyUI command‑line tool → finally, run comfy install to set up ComfyUI in that location with your existing environment.

timfocus6 avatar Aug 13 '25 08:08 timfocus6

启动comfyui前使用镜像加速把你地址替换了就行 比如

git config --global url."https://kkgithub.com/".insteadOf "https://github.com/"

export HF_ENDPOINT="https://hf-mirror.com"

thestar234 avatar Aug 15 '25 10:08 thestar234

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Sep 16 '25 11:09 github-actions[bot]