What we're building
A repeatable way to boot a cloud GPU (RunPod or Vast.ai), paste a single command, grab the exact ComfyUI version you want, auto-install your favorite custom nodes, and download models from Hugging Face/Civitai into the correct folders. No more “did I put that LoRA in the right place?” or “why is this template six months behind?”.
We’ll use a free script generator to produce the one-liner and show you how to tweak, debug, and extend it for your workflow.
It outputs a one-line shell command that:
Installs or updates ComfyUI to a specific version
Downloads your selected models into the correct ComfyUI subfolders
Installs custom nodes you choose from the ComfyUI registry
Adapts paths to your provider (RunPod/Vast.ai) or your local OS
Supports tokens for gated downloads
2) Generate your script
Visit
Go grab a coffee. When it finishes, ComfyUI will be set up with your exact configuration.
4) Launch ComfyUI
Start ComfyUI from your provider’s UI (or the app menu). If new nodes don’t show up in the menu, do a quick restart of the app.
Verify and debug like a developer
I like to sanity-check a fresh environment with a few quick commands.
Check the ComfyUI version you actually deployed
CODECOMFYUI_ROOT="${COMFYUI_ROOT:-/workspace/ComfyUI}" # adjust per provider if needed
git -C "$COMFYUI_ROOT" rev-parse --short HEAD
Confirm models landed in the right folders
CODEls -1 "$COMFYUI_ROOT/models/checkpoints" | head
ls -1 "$COMFYUI_ROOT/models/loras" | head
ls -1 "$COMFYUI_ROOT/models/vae" | head
See which custom nodes got installed
CODEls -1 "$COMFYUI_ROOT/custom_nodes" | sort | head -n 20
🧪 Tip: If a node has Python deps, open its README. Some custom nodes require an extra pip install or a build tool. The generator handles common cases, but niche nodes can have surprises.
Provider-specific notes
Vast.ai common ComfyUI path:
- /workspace/ComfyUI
RunPod common ComfyUI path:
- /workspace/runpod-slim/ComfyUI
If you’re on a non-template image or your provider changed paths, set COMFYUI_ROOT manually and use the “Full Script” editor to update paths before running.
⚠️ Warning: Custom nodes appear after ComfyUI restarts. If you installed nodes while the UI was running, restart the service/app.
Full script mode: for tinkerers and control freaks
Click “Full Script” in the generator to see and edit everything it plans to run. This is great when you want to:
Pin exact commits for ComfyUI or nodes
Add extra pip packages
Change model destination directories
Integrate with a persistent volume
Insert health checks or post-install tests
Workflow:
1. Launch GPU instance (RunPod/Vast.ai) and open a terminal
2. In the generator, pick provider + ComfyUI version
3. Add models (HF/Civitai) and custom nodes
4. Copy the one-liner, set tokens if needed, paste into terminal
5. Launch ComfyUI; restart once to load new nodes
Helpful env vars:
CODEexport HF_TOKEN=hf_xxx
export CIVITAI_TOKEN=xxx
export COMFYUI_ROOT=/workspace/ComfyUI # adjust if your layout differs
Verify after install:
CODEgit -C "$COMFYUI_ROOT" rev-parse --short HEAD
ls "$COMFYUI_ROOT/models/checkpoints" | head
ls "$COMFYUI_ROOT/custom_nodes" | head
If you’ve got feature ideas or run into edge cases, the tool’s maintained and open to feedback: [email protected]
Happy building!
SOCIAL SHARE CARD GENERATOR