Boot Installer
by @alaminedits
Install, update, repair, or health-check the openclaw environment. Use when the user says install openclaw, run the bootstrapper, update packages, fix a brok...
clawhub install boot-installerπ About This Skill
name: boot_installer description: Install, update, repair, or health-check the openclaw environment. Use when the user says install openclaw, run the bootstrapper, update packages, fix a broken install, or check system health. user-invocable: true metadata: {"openclaw":{"os":["linux"],"emoji":"π¦","homepage":"https://github.com/openclaw/openclaw","requires":{"bins":["bash","curl"],"anyBins":["sudo"]},"install":[{"id":"boot-sh","kind":"download","url":"https://raw.githubusercontent.com/openclaw/openclaw/main/boot.sh","label":"Download boot.sh"}]}}
boot_installer
Runs {baseDir}/boot.sh to manage the full openclaw environment lifecycle.
Requires Linux and root/sudo access. The script handles privilege escalation automatically.
Slash commands
| Command | What it does |
|---|---|
| /boot-install | Fresh install of all components |
| /boot-update | Upgrade all packages to latest versions |
| /boot-repair | Deep clean and rebuild broken state |
| /boot-check | Health-check β verify all components |
When to run which mode
How to invoke
Always run as the calling user (sudo is handled internally by the script):
bash {baseDir}/boot.sh # install
bash {baseDir}/boot.sh --update # update
bash {baseDir}/boot.sh --repair # repair
bash {baseDir}/boot.sh --check # check β exits with number of failed checks (max 125)
Use the exec tool. Stream output so the user sees the spinner progress live.
What gets installed (install mode)
~/.local/bin/uv)~/venv with scrapling[fetchers]~/.cache/ms-playwright)9router, openclaw@latest, clawhub, paperclipai, @presto-ai/google-workspace-mcp, mcporter/usr/local/bin9router autostart via systemd user service (falls back to .bashrc hook)openclaw-gateway-watchdog systemd user serviceKey paths
| Path | Purpose |
|---|---|
| ~/venv | Python virtual environment |
| ~/.local/bin | UV binary |
| ~/.local/npm/bin | NPM global binaries |
| ~/.cache/ms-playwright | Chromium browser |
| ~/.openclaw/workspace/skills | Workspace skills |
| ~/.config/systemd/user/9router.service | 9router systemd unit |
| ~/.config/systemd/user/openclaw-gateway-watchdog.service | Gateway watchdog |
After install
If .bashrc was modified, remind the user to reload their shell:
source ~/.bashrc
Logs and errors
The script writes a full log to /tmp/boot-YYYYMMDD-HHMMSS.log. If a step fails, the last 15 lines of output are printed inline and the log path is shown. Surface that path to the user on failure.
Check mode exit codes
--check exits with the count of failed checks (0 = all pass, 1β125 = N issues, capped at 125). Parse the exit code and tell the user how many checks failed and to run bash {baseDir}/boot.sh to repair.
Troubleshooting
--repair first, then run without flags to reinstall packages.~/.local/share/9router.log. Falls back to .bashrc login hook if systemd unavailable.journalctl --user -u openclaw-gateway-watchdog -n 50._fix_ownership runs at the end of every install/update.π Tips & Best Practices
--repair first, then run without flags to reinstall packages.~/.local/share/9router.log. Falls back to .bashrc login hook if systemd unavailable.journalctl --user -u openclaw-gateway-watchdog -n 50._fix_ownership runs at the end of every install/update.