Getting Started
This page walks you from zero install to sending your first message. Based on official Getting Started.
Requirements
- Node.js ≥ 22
1. Install CLI
Recommended: global install (npm or pnpm)
bash
npm install -g openclaw@latest
# or
pnpm add -g openclaw@latest2. Run wizard and install service
The wizard configures gateway, workspace, channels, and skills, and can install a user-level system service (launchd/systemd) so the Gateway runs in the background:
bash
openclaw onboard --install-daemon3. Log in to a channel (e.g. WhatsApp)
bash
openclaw channels loginFollow the prompts to scan QR or log in. Credentials are stored in ~/.openclaw/credentials.
4. Start the Gateway
After onboarding, the service usually runs the Gateway. To start manually:
bash
openclaw gateway --port 187895. Open the dashboard
In your browser:
Use the Control UI for chat, sessions, and config.
6. Send a test message (optional)
With the Gateway running:
bash
openclaw message send --target +15555550123 --message "Hello from OpenClaw"Replace +15555550123 with your target number.
From source (development)
bash
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build
pnpm build
openclaw onboard --install-daemonWithout a global install, run commands via pnpm openclaw ... from the repo.