← Setup
Everything on this page is automated by the Bootstrap Scripts. This guide explains what the scripts do behind the scenes, step by step, so you understand the process whether you use the automation or follow along manually.
The scripts run in three phases. Each builds on the previous one.
1-init.ps1
AI_VAULT\models\diffusion\ with 12 subdirectories - checkpoints, diffusion_models, LoRAs, VAEs, ControlNet, UNet, text encoders, upscale models, IPAdapter, style models, CLIP vision, CLIPsystem_config.jsonsystem_config.json, model_registry.json, ports.json (with default ports and listen address)No software is installed in this phase.
2-deps.ps1
Installs the backend engine (Ollama) and all system tools the frontend apps need:
| Tool | Why |
|---|---|
| Git | Required to download ComfyUI and custom nodes |
| Python 3.11 | Main runtime for ComfyUI and most AI tools |
| Python 3.10 | Fallback for tools that haven’t updated to 3.11 |
| Python 3.12 | Required for ROCm ComfyUI backend (optional - AMD only) |
| Ollama | The backend LLM engine - runs as a service. Frontend apps (ComfyUI, Open Web UI) talk to it |
| FFmpeg | Video processing for AI workflows |
Also sets environment variables so models and caches go to the right places instead of scattering across your drive.
After this phase, restart PowerShell - newly installed tools won’t be found otherwise.
3-apps.ps1
OLLAMA_MODELS points to the vault before proceeding (exits if wrong)AI_CORE\Apps (and optionally Open Web UI)--switch directml on AMDextra_model_paths.yaml mapping 12 model subdirectories to your vault (uses a named config block vault_config:, not flat key-values)AI_TOOLS\launch_comfyui.ps1 and AI_TOOLS\launch_openwebui.ps1 that read port and listen address from ports.jsonUnblock-File *.ps1 # only needed once after download
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # only needed once
.\scripts\1-init.ps1 # step 1: folders + config
# restart PowerShell
.\scripts\2-deps.ps1 # step 2: Git, Python, Ollama, FFmpeg
# restart PowerShell
.\scripts\3-apps.ps1 # step 3: ComfyUI
.\scripts\ai.ps1 setup path # make ai available everywhere
If you prefer not to use the scripts:
winget install Git.Git
winget install Python.Python.3.10
winget install Python.Python.3.11
winget install Python.Python.3.12
winget install Ollama.Ollama
Then follow the Organize Your AI Folders guide to create the folder structure by hand.
The script prints a summary after installing:
Install Summary
Git: Skipped (already up to date)
Python 3.10: Skipped (already up to date)
Ollama: Skipped (already up to date)
FFmpeg: Skipped (already up to date)
“Skipped (already up to date)” is not an error. It means the tool was already installed and no newer version was available. Only the first install shows “Installed” - re-runs will always show “Skipped.”
After 2-deps.ps1 installs Git, Python, Ollama, and FFmpeg, restart PowerShell. Existing windows won’t see the new tools in PATH.
If ai doctor shows FFmpeg as missing even after install, a fresh terminal is likely all you need.
You might see this during ComfyUI install:
[notice] A new release of pip is available: 24.0 -> 26.1.2
This is a notification, not an error. The version that comes with Python 3.11 works perfectly. You can ignore it.
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned first