docs/book/src/setup/windows.md
Install, update, run as a scheduled task / Windows Service, and uninstall on Windows 10 / 11.
setup.bat is the Windows counterpart to install.sh — same job, different shell. If you're running WSL2, you can follow the Linux setup instead; install.sh runs unchanged under WSL.
setup.bat from a releaseDownload the latest ZeroClaw release, unzip, and run:
setup.bat
Flags:
| Flag | Behaviour |
|---|---|
--prebuilt | Download prebuilt binary from GitHub Releases (fastest — no Rust toolchain needed) |
--minimal | Build core only (no channels, no hardware) |
--standard | Build with common channels (Telegram, Discord, Slack, Matrix) |
--full | Build everything |
The script:
rustup; downloads rustup-init.exe and installs stable toolchain if missing%USERPROFILE%\.cargo\bin\zeroclaw.exezeroclaw onboard automaticallyscoop install zeroclaw
zeroclaw onboard
Requires Rust (rustup) and Visual Studio Build Tools:
git clone https://github.com/zeroclaw-labs/zeroclaw
cd zeroclaw
cargo install --locked --path .
zeroclaw onboard
Windows builds use the MSVC toolchain. You need:
rustup)If you're using --prebuilt you don't need the Rust toolchain — the binary is self-contained.
Windows has two options: a scheduled task (user session) or a Windows Service (system session).
zeroclaw service install
zeroclaw service start
This creates a task that runs under your user account and starts on login. Managed via Task Scheduler (taskschd.msc).
Logs go to %LOCALAPPDATA%\ZeroClaw\logs\.
Running as a true service requires Administrator privileges during install. Open an elevated cmd.exe and:
zeroclaw service install
When run elevated, the installer registers a Windows Service under LocalSystem instead of a user-scoped scheduled task. Consider creating a dedicated service account if the agent touches user-scoped resources.
Full details: Service management.
setup.bat / release zipRe-download the latest release and re-run setup.bat --prebuilt (or whichever flag you used originally). Then:
zeroclaw service restart
scoop update zeroclaw
zeroclaw service restart
cd C:\path\to\zeroclaw
git pull
cargo install --locked --path . --force
zeroclaw service restart
Stop and remove the service:
zeroclaw service stop
zeroclaw service uninstall
Remove the binary:
:: setup.bat / cargo install
del "%USERPROFILE%\.cargo\bin\zeroclaw.exe"
:: Scoop
scoop uninstall zeroclaw
Remove config and workspace (optional — this deletes conversation history):
rmdir /s /q "%USERPROFILE%\.zeroclaw"
rmdir /s /q "%LOCALAPPDATA%\ZeroClaw"
path too long errors during build (reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f).