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.
Download the latest ZeroClaw release, unzip, and run:
setup.batFlags:
| Flag | Behaviour |
|---|---|
--prebuilt |
Download prebuilt binary from GitHub Releases (fastest β no Rust toolchain needed) |
--minimal |
Build core only (--no-default-features; no channels, no hardware) |
--standard |
Build with lean default channels (ACP server, webhook, email, Telegram) |
--full |
Build with all channels (channels-full) |
The script:
- Checks for
rustup; downloadsrustup-init.exeand installs stable toolchain if missing - Builds (or downloads) the binary
- Installs to
%USERPROFILE%\.zeroclaw\bin\zeroclaw.exe - Prints mode-specific next steps:
--prebuilt,--standard,--full: runzeroclaw onboard--minimal: onboarding is unavailable; configure%USERPROFILE%\.zeroclaw\config.tomlmanually and use the reduced CLI path (zeroclaw agent ...)
For source builds, setup.bat now prints the exact cargo build ... command it executes and reports the installed zeroclaw.exe size so command shape and artifact expectations stay visible.
scoop install zeroclaw
zeroclaw onboardRequires Rust (rustup) and Visual Studio Build Tools:
git clone https://github.com/zeroclaw-labs/zeroclaw
cd zeroclaw
cargo install --locked --path .
zeroclaw onboardWindows builds use the MSVC toolchain. You need:
- Visual Studio Build Tools (or full Visual Studio) with the "Desktop development with C++" workload
- Rust stable (via
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 startThis 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 installWhen 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.
Re-download the latest release and re-run setup.bat --prebuilt (or whichever flag you used originally). Then:
zeroclaw service restartscoop update zeroclaw
zeroclaw service restartcd C:\path\to\zeroclaw
git pull
cargo install --locked --path . --force
zeroclaw service restartStop and remove the service:
zeroclaw service stop
zeroclaw service uninstallRemove the binary:
:: setup.bat
del "%USERPROFILE%\.zeroclaw\bin\zeroclaw.exe"
:: cargo install
del "%USERPROFILE%\.cargo\bin\zeroclaw.exe"
:: Scoop
scoop uninstall zeroclawRemove config and workspace (optional β this deletes conversation history):
rmdir /s /q "%USERPROFILE%\.zeroclaw"
rmdir /s /q "%LOCALAPPDATA%\ZeroClaw"- Long paths. Some Windows file systems still cap path lengths at 260 characters. Enable long path support if you hit
path too longerrors during build (reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f). - SmartScreen. The unsigned binary may trip SmartScreen on first launch. Right-click β Properties β "Unblock" is the standard workaround until we add a signed MSI.
- Task Scheduler stop-at-idle. By default Windows may terminate scheduled tasks on idle / battery. The installed task explicitly disables these conditions; verify under Task Scheduler β ZeroClaw β Properties β Conditions.