Install
Quick install (recommended)
curl -fsSL https://raw.githubusercontent.com/RantAI-dev/RantAIClaw/main/scripts/bootstrap.sh | bashThe script:
- detects your platform (Linux x86_64/aarch64/armv7, macOS Intel/Apple Silicon),
- downloads the matching prebuilt binary from the latest release ,
- verifies its SHA256 checksum,
- installs to
~/.cargo/binor~/.local/bin, - prints the
export PATH=...line for your shell if needed, - runs
rantaiclaw setup --forceat the end — the full guided wizard (provider, approvals, channels, persona, skills, MCP). Reattaches/dev/ttyso prompts still work undercurl | bash. Pass--skip-setupor setRANTAICLAW_SKIP_SETUP=1to install only.
No Rust toolchain. No compiler. No git clone.
Verify
rantaiclaw --versionIf you see command not found, the installer printed a PATH export — copy that line into your shell rc and re-source it. See What the installer does to your PATH below.
What the installer does to your PATH
The installer picks an install directory that’s already on $PATH whenever possible. When it can’t, it offers to amend your shell rc file so the binary is picked up next time you open a shell.
Shell-rc files written by the installer, by shell:
| Shell | rc file amended |
|---|---|
| bash (Linux: Debian/Ubuntu, Arch, Fedora, openSUSE, Alpine, …) | ~/.bashrc |
| bash (macOS — login shell) | ~/.bash_profile (or ~/.profile if already present) |
| zsh (macOS Catalina+ default; common on Linux) | ~/.zshrc |
| fish | ~/.config/fish/config.fish (uses fish_add_path) |
| ksh / mksh | ~/.kshrc |
| tcsh / csh | ~/.tcshrc or ~/.cshrc |
| dash / ash / sh | ~/.profile |
After the install finishes, if the binary isn’t usable in the current shell, a bold ⚠ ACTION REQUIRED box is printed with the exact source command to run. The two most common cases:
# bash on Linux
source ~/.bashrc
# zsh (Linux or macOS)
source ~/.zshrc
# fish
exec fish # or: source ~/.config/fish/config.fishOpening a new terminal also works.
Controlling the PATH amendment
| Variable | Effect |
|---|---|
RANTAICLAW_AUTO_MODIFY_PATH=1 | Skip the prompt, always amend the rc (good for automation) |
RANTAICLAW_NO_MODIFY_PATH=1 | Skip the prompt, never amend the rc (prints the export line instead) |
If you piped curl | bash (no TTY for prompts), the installer behaves as if RANTAICLAW_NO_MODIFY_PATH=1 and just prints the export line — review it, then add it yourself:
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc
source ~/.bashrcWindows
A native Windows installer is the recommended path. WSL2 remains an alternative for users who prefer a Linux toolchain.
Option 0 — Native Windows one-liner (easiest)
Open PowerShell and run:
iwr https://raw.githubusercontent.com/RantAI-dev/RantAIClaw/main/scripts/install.ps1 -UseBasicParsing | iexThe script detects your architecture, downloads rantaiclaw-x86_64-pc-windows-msvc.zip + SHA256SUMS from the latest release, verifies the checksum, extracts to %LOCALAPPDATA%\Programs\rantaiclaw\, amends your User PATH via the registry (not setx — which truncates at 1024 chars), and runs rantaiclaw.exe setup --force automatically (full guided wizard — provider, approvals, channels, persona, skills, MCP). Open a new terminal afterwards because cmd.exe / VS Code / Git Bash tabs cache the old PATH. Pass -SkipSetup or set $env:RANTAICLAW_SKIP_SETUP=1 to install only.
Options (flags and env vars mirror bootstrap.sh):
iwr https://raw.githubusercontent.com/RantAI-dev/RantAIClaw/main/scripts/install.ps1 -OutFile install.ps1
.\install.ps1 -InstallDir "$HOME\bin" # custom install location
.\install.ps1 -SkipSetup # don't auto-run `setup --force`
.\install.ps1 -Onboard -Interactive # legacy `onboard` flow
.\install.ps1 -NoModifyPath # never touch PATH
.\install.ps1 -ForceModifyPath # always amend PATH (no prompt)
.\install.ps1 -Version v0.6.52-alpha # pin to a specific releaseIf PowerShell execution policy blocks a saved .ps1, either pipe via iex (in-memory; not blocked) or unblock for the current shell only with Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass.
If you’d rather do everything by hand, see Option 1 below.
Option 1 — Native Windows manual install
Step 1 — Download the binary
From the latest release , grab rantaiclaw-x86_64-pc-windows-msvc.zip. Or in PowerShell:
$VERSION = "latest" # or a specific tag like "v0.6.51-alpha"
$TARGET = "x86_64-pc-windows-msvc"
curl.exe -fsSL -O "https://github.com/RantAI-dev/RantAIClaw/releases/$VERSION/download/rantaiclaw-$TARGET.zip"Step 2 — Extract
Expand-Archive "rantaiclaw-x86_64-pc-windows-msvc.zip" -DestinationPath "$HOME\rantaiclaw"That gives you C:\Users\<you>\rantaiclaw\rantaiclaw.exe.
Step 3 — Add it to PATH
Pick one of the three methods below. Method A is the easiest — one PowerShell command, no GUI.
Method A — Automatic (PowerShell, one command)
setx PATH "$HOME\rantaiclaw;$env:Path"After running it:
- Close this PowerShell window and open a new one —
setxonly updates the registry; existing terminals keep their oldPATH. rantaiclaw.exe --versionshould work in the new window.
If setx complains the value is too long (>1024 chars), use Method B or C instead.
Method B — GUI (most reliable on managed/corporate machines)
- Press Win, type “Environment Variables”, and click “Edit the system environment variables”.
- Click “Environment Variables…” at the bottom-right of the System Properties window.
- Under “User variables for <you>” (top half), select
Pathand click “Edit…”. - Click “New” and paste
C:\Users\<your-user>\rantaiclaw(replace<your-user>with your actual username). - Click OK → OK → OK to close all three dialogs.
- Open a new PowerShell / Terminal window — existing windows won’t see the change.
- Verify:
rantaiclaw.exe --version.
Avoid touching System variables
Path(bottom half) unless you actually want a system-wide install — that requires admin rights and affects every user.
Method C — Drop it into a folder that’s already on PATH
If you’d rather not edit PATH at all, move the binary into a folder that’s already there. Run $env:Path -split ';' in PowerShell to list them. The easiest writable choice is WindowsApps, which is always on PATH for your user:
Move-Item "$HOME\rantaiclaw\rantaiclaw.exe" "$HOME\AppData\Local\Microsoft\WindowsApps\rantaiclaw.exe"rantaiclaw.exe --version works immediately, even in the same window.
Step 4 — Verify
In a new PowerShell window:
rantaiclaw.exe --version # rantaiclaw 0.6.x
rantaiclaw.exe setup # guided wizard
rantaiclaw.exe doctor # validate install
rantaiclaw.exe chat # start chattingIf rantaiclaw.exe is “not recognized as the name of a cmdlet…”, your PATH edit didn’t apply — see Windows PATH troubleshooting below.
Optional — verify the cosign signature
Requires cosign :
$VERSION = "v0.6.51-alpha" # or the latest tag
$TARGET = "x86_64-pc-windows-msvc"
curl.exe -fsSL -O "https://github.com/RantAI-dev/RantAIClaw/releases/download/$VERSION/rantaiclaw-$TARGET.zip.bundle"
cosign verify-blob `
--bundle "rantaiclaw-$TARGET.zip.bundle" `
--certificate-identity-regexp "https://github.com/RantAI-dev/RantAIClaw/.github/workflows/pub-release.yml@.*" `
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" `
"rantaiclaw-$TARGET.zip"Windows PATH troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
'rantaiclaw' is not recognized… in the same PowerShell window where you ran setx | setx only affects new sessions | Close the window, open a new one |
| Works in PowerShell but missing in cmd.exe / Git Bash / VS Code terminal | Each tool may cache its own PATH snapshot | Restart the tool (close & reopen) |
| Works for you but not for another user on the same PC | You added to User PATH; they need System PATH | Repeat Method B in the System variables half (requires admin) |
setx complains “value too long” | The combined PATH exceeds 1024 chars | Use Method B or C instead |
Option 2 — WSL2
Install WSL2 :
wsl --installThen, inside the WSL Ubuntu shell, run the standard Linux one-liner:
curl -fsSL https://raw.githubusercontent.com/RantAI-dev/RantAIClaw/main/scripts/bootstrap.sh | bash
rantaiclaw --versionThe binary lives inside the WSL filesystem; invoke it from the WSL shell (or wsl rantaiclaw from PowerShell).
Option 3 — Build from source (MSVC)
Requires Rust 1.92+ (rustup-init.exe) and the Desktop development with C++ workload from Visual Studio Build Tools. Then:
git clone https://github.com/RantAI-dev/RantAIClaw.git
cd RantAIClaw
cargo build --release
.\target\release\rantaiclaw.exe --versionBuilding from source
If you have Rust 1.91+ installed:
git clone https://github.com/RantAI-dev/RantAIClaw.git
cd RantAIClaw
cargo build --release
./target/release/rantaiclaw --versionThe release profile is tuned for size (opt-level = "z", lto = "fat", codegen-units = 1, strip = true, panic = "abort") — the resulting binary is ~12 MB.
For faster local builds at the cost of binary size, use the release-fast profile:
cargo build --profile release-fastOptional features
RantAIClaw uses Cargo features to keep the default binary small. Opt in to the ones you need:
| Feature | Adds |
|---|---|
tui | Terminal UI (default-enabled) |
hardware | USB / serial peripheral discovery (nusb + tokio-serial) |
channel-matrix | Matrix E2EE channel |
channel-lark | Lark/Feishu channel |
memory-postgres | PostgreSQL memory backend |
observability-otel | OpenTelemetry trace + metrics export |
whatsapp-web | Native WhatsApp Web client (wa-rs) |
browser-native | Headless browser tool via fantoccini |
peripheral-rpi | Raspberry Pi GPIO peripherals |
probe | STM32 / Nucleo memory read via probe-rs |
rag-pdf | PDF ingestion via pdf-extract |
sandbox-bubblewrap | Bubblewrap sandbox (the only sandbox path on macOS) |
sandbox-landlock | (no-op alias kept for backward compat — Landlock is compiled in unconditionally on Linux) |
Combine them at build time:
cargo build --release --features "channel-matrix,memory-postgres,observability-otel"Next
Run the setup wizard to bring up your first agent.