This guide covers the recommended install flow for ClawVault on Linux (Ubuntu), macOS, Windows, and WSL.
- Node.js 18+ (Node.js 22+ recommended)
- npm 9+
- Supported OS: Linux, macOS, Windows, WSL
npm install -g clawvaultqmd is optional. ClawVault ships with an in-process BM25 search engine by default. Install qmd only if you want qmd fallback behavior:
bun install -g github:tobi/qmdAfter installation, run:
clawvault doctorThis checks your Node/npm environment, vault/config health, search setup, OpenClaw integration, and common Linux permission issues.
Use your preferred version manager (nvm/fnm/asdf) and install Node.js 22 LTS. Validate:
node -v
npm -vIf npm install -g clawvault fails with permissions errors:
npm config set prefix ~/.npm-globalAppend this to ~/.bashrc (or ~/.zshrc):
export PATH="$HOME/.npm-global/bin:$PATH"Reload your shell:
source ~/.bashrcnpm install -g clawvault
clawvault doctorclawvault: command not found- Ensure your npm global bin directory is in PATH.
- Run
npm config get prefixand confirm<prefix>/binis exported.
- Global install fails with
EACCES- Set user-owned npm prefix:
npm config set prefix ~/.npm-global - Re-open terminal and retry install.
- Set user-owned npm prefix:
qmdnot found- This is optional. In-process BM25 search still works.
- Install qmd only if you need fallback compatibility paths.
- OpenClaw plugin not registered
- Run:
openclaw hooks install clawvault && openclaw hooks enable clawvault - Verify:
openclaw hooks list --verbose
- Run: