This guide is for someone receiving a fresh Foxforge ZIP and getting it running locally.
If your ZIP already includes FoxforgeInstaller.exe, double-click it.
What it does:
- launches
install_foxforge.ps1in GUI mode - installs/checks prerequisites
- prompts for first owner username + 4-digit PIN
- offers to pull missing Ollama models
Optional CLI mode from terminal:
.\FoxforgeInstaller.exe --cliFrom the project root in PowerShell:
powershell -ExecutionPolicy Bypass -File .\install_foxforge.ps1What this installer does:
- checks Python, Ollama, and optional Node.js
- offers
wingetinstall for missing prerequisites - installs Python dependencies from
requirements.lock - starts Ollama if needed
- reads
SourceCode/configs/model_routing.jsonand pulls missing required models - prompts for first owner username + 4-digit PIN
After installer completion:
powershell -ExecutionPolicy Bypass -File .\start_foxforge_web.ps1Open:
http://127.0.0.1:5050
Install prerequisites:
- Python 3.10+
- Ollama
- Node.js LTS (optional; useful for dev tooling)
Then run:
python -m pip install -r .\requirements.lockOptional extras:
# PDF / DOCX / OCR helpers
python -m pip install -r .\requirements-optional-docs.txt
# Discord bot support
python -m pip install -r .\requirements-optional-bots.txtPull required models:
ollama pull dolphin3:8b
ollama pull deepseek-r1:8b
ollama pull qwen2.5-coder:7b
ollama pull qwen2.5:7b
ollama pull mistral:7b
ollama pull qwen3:4b
ollama pull qwen3:8b
ollama pull nomic-embed-textFirst boot requires owner credentials through environment variables:
$env:FOXFORGE_OWNER_USERNAME="owner"
$env:FOXFORGE_OWNER_PASSWORD="1234"
powershell -ExecutionPolicy Bypass -File .\start_foxforge_web.ps1After first boot, owner is stored in the local DB, so you do not need to keep those env vars.
If you want live web-foraging (SearXNG + Crawl4AI), install Docker Desktop and run:
powershell -ExecutionPolicy Bypass -File .\start_web_foraging_stack.ps1Foxforge owner setup is incomplete: runinstall_foxforge.ps1or setFOXFORGE_OWNER_*env vars for first boot.- Ollama not reachable: run
ollama serve, then retry. - Missing models: run
ollama listand pull the missing names shown above. - PDF / DOCX text extraction unavailable: install
requirements-optional-docs.txt; OCR also requires the Tesseract binary on your machine. - Discord bot unavailable: install
requirements-optional-bots.txt. - Port already in use: change web port with
-WebPort 5051onstart_foxforge_web.ps1. - No
FoxforgeInstaller.exein your ZIP: generate it withpowershell -ExecutionPolicy Bypass -File .\build_installer_exe.ps1.