One-click deployment of the Knowledge Base Document Converter onto a fresh Windows 10/11 machine. Sets up WSL2 + Ubuntu 24.04 + Python deps + Claude Code CLI.
- Windows 10 (build 19041+) or Windows 11
- Administrator account
- ~5 GB free disk space
- Internet connection
- An Anthropic API key (
sk-ant-...)
Open PowerShell as Administrator and run:
cd C:\dev\knowledge-base\deploy
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\01-setup-wsl.ps1When it finishes: restart your PC.
After reboot, open PowerShell as Administrator again:
cd C:\dev\knowledge-base\deploy
.\02-setup-project.ps1This will:
- Create
C:\dev\knowledge-base\with all subdirectories - Copy
scripts/,CLAUDE.md, etc. into place - Invoke
03-setup-ubuntu.shinside WSL to install Python deps + Claude Code CLI - Prompt you for your
ANTHROPIC_API_KEYand save it to~/.bashrc
To launch Claude Code in the project:
C:\dev\knowledge-base\deploy\04-launch.ps1Or to just run the converter without Claude Code:
C:\dev\knowledge-base\deploy\quick-convert.ps1Inside WSL:
cd ~/knowledge-base
python3 scripts/convert.py # full pipeline
python3 scripts/convert.py --status # show state
python3 scripts/convert.py --reset # wipe state and start freshC:\dev\knowledge-base\
├── rawdocs/ # drop source files here
├── sorted/ # auto-sorted by type
├── md_ready/ # converted Markdown output
├── wiki/ # compiled knowledge base
├── config/ # state JSON
├── logs/ # per-run logs
├── scripts/ # convert.py, run.sh
└── deploy/ # this folder
wsl: command not found— Step 1 didn't finish. Re-run01-setup-wsl.ps1and reboot.Ubuntu-24.04not inwsl --list— re-runwsl --install -d Ubuntu-24.04manually and complete the first-launch prompt to set a Linux user.ANTHROPIC_API_KEY not set— open WSL, edit~/.bashrc, ensureexport ANTHROPIC_API_KEY="sk-ant-..."line is present, thensource ~/.bashrc.- CRLF errors when running shell scripts — re-run
03-setup-ubuntu.sh(it normalizes line endings).