A Windows batch script that takes you from zero to a fully configured ComfyUI environment with Conda. No manual setup required!
- Creates a new Conda environment
- Clones the ComfyUI repository
- Installs PyTorch with CUDA support
- Installs all required dependencies
- Creates a convenient run script
- Download the setup script
- Edit the
CONDA_PATH
variable in the script if your Conda installation is not in the default location - Run the script
- Enter a name for your new Conda environment when prompted
- Enter the installation path for ComfyUI when prompted
- Wait for the installation to complete
- Checks for required prerequisites (Git, Conda)
- Creates a new Conda environment with Python 3.10
- Clones the ComfyUI repository
- Installs PyTorch with CUDA support
- Installs ComfyUI requirements
- Installs additional dependencies (insightface, onnxruntime-gpu)
- Creates a run script for easy launching
If you encounter any issues:
- Ensure all prerequisites are properly installed
- Check that the
CONDA_PATH
in the script matches your Conda installation - Run the script as administrator if you encounter permission issues
- Check your internet connection if downloads fail
This script is released under the MIT License. See the LICENSE file for details.