Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Update system and install essentials
sudo apt update && sudo apt install git python3-venv python3-pip wget -y || { echo "Essentials install failed"; exit 1; }
# Clone ComfyUI
git clone https://github.com/comfyanonymous/ComfyUI /workspace/ComfyUI || { echo "Clone failed"; exit 1; }
cd /workspace/ComfyUI
# Create and activate venv
@Energizer26
Energizer26 / provisioning.sh
Created December 20, 2025 06:46
ComfyUI Provisioning Script
#!/bin/bash
apt update && apt install git python3-venv python3-pip wget -y
git clone https://github.com/comfyanonymous/ComfyUI /workspace/ComfyUI
cd /workspace/ComfyUI
python3 -m venv venv
source venv/bin/activate
pip install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu131 # For your CUDA 13.1