Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

8.8 KB
Raw Blame

Legacy native Windows installation walkthrough

Release channel: the install commands on this page fetch development main, which is not signed. A signed-source path is staged in Verified Install Preview; it is not active until the first eligible immutable release is published, and historical v3.0.0 is not eligible.

For new Pixel/Portal installations, use Windows Quickstart. The root install.ps1 now guides Ubuntu/WSL2 setup. This page describes only the legacy native implementation and Windows runtime paths; it does not install Pixel in Ubuntu.

Step-by-step guide for installing ODS on Windows 10/11 with WSL2, Docker Desktop, and NVIDIA or AMD GPU support.


Prerequisites

Requirement Minimum Recommended
Windows 10 version 2004+ (build 19041) Windows 11
GPU NVIDIA with 8GB VRAM or AMD Strix Halo RTX 3060 12GB+, RTX 4090, or Ryzen AI MAX+
RAM 16GB 32GB+
Disk 100GB free SSD 200GB+ NVMe
WSL2 Enabled Latest kernel
Docker Docker Desktop Latest stable

Step 1: Enable WSL2

Open PowerShell as Administrator and run:

wsl --install

This installs WSL2 and Ubuntu automatically.

Verify:

wsl --status
# Should show: Default Version: 2

Restart your computer when prompted.


Step 2: Install GPU Drivers

For NVIDIA:

  1. Download latest drivers: https://www.nvidia.com/drivers
  2. Install on Windows (do NOT install in WSL2)
  3. Verify:
    nvidia-smi
    # Should show GPU name, driver version, VRAM
    

Note: Windows drivers automatically provide GPU access to WSL2. No separate WSL driver needed.

For AMD Strix Halo, install the current AMD Windows graphics/compute driver from AMD. The ODS installer runs llama.cpp's llama-server.exe (Vulkan) on Windows; when it finds no usable Vulkan device, a new install runs the model on the CPU and says so.


Step 3: Install Docker Desktop

  1. Download: https://docker.com/products/docker-desktop
  2. During install, check "Use WSL2 instead of Hyper-V"
  3. After install, open Docker Desktop → Settings → General
  4. Confirm "Use the WSL 2 based engine" is checked
  5. Go to Settings → Resources → WSL Integration
  6. Enable integration for Ubuntu

Verify NVIDIA GPU in Docker:

docker run --rm --gpus all nvidia/cuda:12.0.0-base-ubuntu22.04 nvidia-smi

Skip this NVIDIA CUDA container check on AMD systems.


Step 4: Run ODS Installer

Open PowerShell (not as admin) and run:

$ProgressPreference = "SilentlyContinue"
$odsSrc = Join-Path $env:TEMP ("ods-install-" + [guid]::NewGuid().ToString("N"))
$odsZip = Join-Path $odsSrc "ods-main.zip"
New-Item -ItemType Directory -Path $odsSrc | Out-Null
Invoke-WebRequest "https://github.com/Osmantic/ODS/archive/refs/heads/main.zip" -OutFile $odsZip
Expand-Archive -LiteralPath $odsZip -DestinationPath $odsSrc -Force
cd (Get-ChildItem -LiteralPath $odsSrc -Directory | Select-Object -First 1).FullName
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\ods\installers\windows\install-windows.ps1

The installer will:

  • Detect your GPU and pick the right model tier
  • Check prerequisites (WSL2, Docker, NVIDIA/AMD runtime path)
  • Create the runtime directory at $env:USERPROFILE\ods by default, or at the path passed to -InstallDir
  • Download and start all services

Important: repo checkout vs runtime directory

The ODS folder you cloned is the source checkout used by the installer. The running Windows install lives in $env:USERPROFILE\ods by default, or in $env:ODS_HOME if you set that variable before install. The runtime directory is where the installer writes .env, generated secrets, model files, logs, data directories, and compose state.

Running the installer from another drive does not change the runtime target. If you cloned the repo on another drive because C: is low on space, pass any NTFS/ReFS target path with enough space explicitly:

$installDir = "D:\Apps\ods"
.\ods\installers\windows\install-windows.ps1 -InstallDir $installDir

After installation, run management commands from the runtime directory:

$installDir = "$env:USERPROFILE\ods"
# If you installed with -InstallDir, use that same path instead:
# $installDir = "D:\Apps\ods"
cd $installDir
.\ods.ps1 status
.\ods.ps1 logs llama-server

If you run raw docker compose from the cloned source checkout, Compose will not see the generated .env and relative volume paths will point at the wrong place. Manual Compose commands are supported, but run them from the runtime directory:

cd $installDir
docker compose ps
docker compose logs -f

For in-place development only, set ODS_HOME before running the installer so the runtime is intentionally created inside your checkout:

$env:ODS_HOME = "C:\path\to\ODS\ods"
.\ods\installers\windows\install-windows.ps1

First run takes 10-30 minutes depending on download speed. Bootstrap mode starts a small model first, then downloads and hot-swaps the full model in the background.

Installer Options

# Specific tier with voice
.\ods\installers\windows\install-windows.ps1 -Tier 2 -Voice

# Full stack with everything
.\ods\installers\windows\install-windows.ps1 -All

# Simulate installer planning without making changes
.\ods\installers\windows\install-windows.ps1 -DryRun

# Wait for the full model instead of using bootstrap fast-start
.\ods\installers\windows\install-windows.ps1 -NoBootstrap

# Install runtime files on a specific drive/path
$installDir = "D:\Apps\ods"
.\ods\installers\windows\install-windows.ps1 -InstallDir $installDir

Step 5: Verify Installation

Check Services Are Running

# In PowerShell
$installDir = "$env:USERPROFILE\ods"
# If you installed with -InstallDir, use that same path instead.
cd $installDir
docker compose ps

You should see containers: llama-server, open-webui, searxng, etc.

Test GPU Access

# Test inside llama-server container
docker exec -it ods-llama-server-1 nvidia-smi

Open Web UI

Visit: http://localhost:3000

  1. Create first account (becomes admin)
  2. Select model from dropdown
  3. Start chatting!

Step 6: Run Diagnostics

$installDir = "$env:USERPROFILE\ods"
# If you installed with -InstallDir, use that same path instead.
cd $installDir
.\ods.ps1 report

This verifies:

  • WSL2 version and kernel
  • Docker Desktop WSL2 backend
  • NVIDIA GPU visibility at all layers
  • Container health
  • Model loading status

Common First-Run Issues

"Docker Desktop not running"

Fix: Start Docker Desktop from Start menu. Wait for whale icon to stabilize.

"WSL2 not detected"

Fix:

wsl --update
wsl --shutdown

Then restart Docker Desktop.

"nvidia-smi fails in Docker"

Fix: Ensure Docker Desktop WSL2 backend is enabled. Restart Docker Desktop after enabling.

"Port 3000 already in use"

Fix: Edit $installDir\.env:

WEBUI_PORT=3001

Then:

cd $installDir
docker compose up -d

Model download stuck

Fix: Check disk space. Cancel with Ctrl+C, then restart installer — it resumes downloads.


Next Steps

Task Command
Stop ODS cd $installDir; .\ods.ps1 stop
Start ODS cd $installDir; .\ods.ps1 start
View logs cd $installDir; .\ods.ps1 logs
Update cd $installDir; .\ods.ps1 update
Enable voice Add -Voice flag or edit .env
Enable workflows Add -Workflows flag
Support report cd $installDir; .\ods.ps1 report

Getting Help


Uninstall

Start Docker Desktop first so ODS can remove the Docker side of the install.

$installDir = "$env:USERPROFILE\ods"
# If you installed with -InstallDir, use that same path instead.
cd $installDir
.\ods.ps1 uninstall --force

Use --keep-data or --keep-models if you want to preserve local state. --keep-data keeps only the data folder inside the install directory; it still deletes .env (your settings and generated secrets) and config\. Copy .env somewhere safe first if you may reinstall over the kept data.

If the runtime folder is partial and .\ods.ps1 is missing, run the same cleanup from a source checkout:

cd ODS
.\ods\installers\windows\ods.ps1 uninstall --force

The fallback path removes Docker containers, networks, and volumes labelled as the ODS compose project, so it still works when .compose-flags or the compose files were deleted before uninstall.


Last updated: 2026-05-20