Installer
OpenClaw provides a one-liner install script for macOS and Linux. Based on official Installer.
Usage
bash
curl -fsSL https://openclaw.ai/install.sh | bashThe script will:
- Detect and install Node.js if missing or too old
- Install
openclaw@latestglobally (npm or pnpm) - Set up the environment as needed
Install method (e.g. git)
bash
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method gitFrom source you then run pnpm install, pnpm build, etc. in the cloned repo. See Getting Started.