Before you start.
Four things. The first three you probably already have.
- Machine
- A computer
- Runtime
- Node.js v22+
- Provider
- AI API key
- Time
- ~30 minutes
Check your Node.js version
Open Terminal (Mac: ⌘ Space → Terminal) or Command Prompt (Windows: Win → cmd) and run:
node --version
You need v22.0.0 or higher. Otherwise install the LTS from nodejs.org and re-run.
Choose your AI provider
Claude Opus 4.5 is the smartest option. Get your key at console.anthropic.com.
GPT-4 and friends. Works perfectly well. Key at platform.openai.com/api-keys.
Installation.
One command installs everything — OpenClaw, dependencies, runtime.
Mac / Linux
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell)
iwr -useb https://openclaw.ai/install.ps1 | iex
openclaw --version to confirm.The onboarding wizard.
This connects OpenClaw to your provider and sets it up to run in the background.
openclaw onboard --install-daemon
- Name your assistant
Anything — Jarvis, Alfred, Lobster Larry. This is just what it calls itself.
- Choose your provider
Arrow keys to select Anthropic or OpenAI. Press Enter.
- Paste your API key
You won't see the key as you type — this is normal. Paste and press Enter.
- Pick a model
claude-opus-4.5is best quality.claude-sonnet-4.5is faster and cheaper. - Set up messaging (optional)
Connect WhatsApp, Telegram, Discord. You can skip and add later.
- Install the daemon — say YES
This keeps OpenClaw running in the background even after you close the terminal.
Make sure it works.
Check gateway status
openclaw gateway status
Should print ✓ Gateway is running. If not:
openclaw gateway start
Open the dashboard
openclaw dashboard
This opens your browser at http://127.0.0.1:18789/. Say hello. If it responds, you're done.
.openclaw folder in your home directory holds everything — settings, credentials, workspace, logs. Back it up.Messaging channels.
Chat with your assistant through apps you already use. Difficulty varies:
Telegram — start here
- Create a bot with BotFather
Search
@BotFatherin Telegram, type/newbot, follow the prompts. Copy the token. - Add token to config
openclaw config edit
Paste into
channels:"telegram": { "botToken": "paste-token-here" } - Restart and test
openclaw gateway restart
Say hello to your bot in Telegram — it should respond.
- Start the login
openclaw channels login whatsapp
- Scan the QR code
On your phone: WhatsApp → ⋮ Menu → Linked Devices → Link a Device.
- Approve numbers
Only approved numbers can trigger your assistant:
openclaw pairing approve whatsapp +15555551234
Skills & tools.
Skills give your assistant superpowers — web browsing, calendar, file management. Browse the library at clawhub.ai.
Install a skill
openclaw skills install web-search
Popular ones to start with:
Customize personality
Edit SOUL.md to change how it talks and behaves:
nano ~/.openclaw/workspace/SOUL.md
SOUL.md short. The assistant re-reads it every session — a bloated file burns API credits just saying hello. Put project-specific notes in AGENTS.md.When things break.
openclaw gateway --port 18790
openclaw logs
openclaw channels login whatsapp and scan a fresh QR."limits": {
"maxTokensPerDay": 100000,
"alertWhenOver": 50000
}Safety tips.
.openclaw regularly.