Migrating from the PowerShell Version¶
If you're currently using the PowerShell version (ComfyUI-Auto_installer-PS), you can
migrate to the Python version with a single command.
What's Preserved¶
All your user data is fully preserved:
- ✅ All models (checkpoints, LoRA, VAE, etc.)
- ✅ All generated outputs
- ✅ ComfyUI source code
- ✅ All custom nodes (bundled + user-installed)
- ✅ ComfyUI user settings
What's Replaced¶
Only the installer infrastructure is replaced:
- ❌ PowerShell scripts (
scripts/*.ps1,*.psm1) - ❌ Old Python environment (Conda
UmeAiRTor oldvenv) - ❌ Old
.batlaunchers - ❌
custom_nodes.csv, olddependencies.json,snapshot.json
Migration Steps¶
Option A: One-Liner (Recommended)¶
Open PowerShell in your installation directory and run:
The script will:
- Auto-detect your PowerShell installation (current directory, parent, or common paths)
- Show a summary of what will be preserved / removed
- Ask for confirmation with a backup suggestion
- Clean up PS-specific files
- Bootstrap the new Python environment (
uv+venv) - Run the Python installer (reuses existing ComfyUI and all custom nodes)
- Reinstall Python dependencies for every custom node
Irreversible Operation
The migration permanently deletes the old PowerShell scripts and Python environment. Back up your installation folder before proceeding:
Option B: Manual Migration¶
If you prefer to migrate manually:
- Back up your installation folder
- Delete the old PS infrastructure:
scripts/*.ps1,scripts/*.psm1scripts/venv/(old Python environment)scripts/custom_nodes.csv,scripts/dependencies.json,scripts/snapshot.jsonscripts/environment.yml,scripts/install_type- Old
.batlaunchers (UmeAiRT-Install-ComfyUI.bat, etc.)
- Download the Python installer
- Run
Install.batand point it to the same directory — it will detect existing ComfyUI and custom nodes
Troubleshooting¶
A custom node fails to load after migration¶
Some user-installed nodes may not properly declare their Python dependencies in requirements.txt.
Install the missing package manually:
The script can't find my installation¶
If auto-detection fails, the script will prompt you to enter the path manually.
Point it to the root folder that contains ComfyUI/, models/, and scripts/.