Getting Started with OpenClaw
Use this guide to stand up a secure, stable, high-leverage OpenClaw environment quickly.
Recommended Hardware
- Best balance: Mac mini (Apple Silicon, 16GB+ RAM)
- Power users: 32GB+ RAM for heavier parallel automations
- Storage: SSD with at least 100GB free for logs/artifacts
- Network: stable wired connection for always-on reliability
Security Best Practices
- Use least-privilege defaults and explicit allowlists
- Keep gateway local-only unless remote access is required
- Never expose download/checkout flows without verification
- Use a vault OpenClaw can access (for example, Bitwarden) for secrets management
- Store all tokens, passwords, API keys, and credentials in the vault (not in plain files/chat)
- Rotate credentials/tokens periodically and after sharing
- Review logs and alerts on a daily cadence
Install OpenClaw (Step-by-Step) -- In 12 Minutes!
Copy and paste these commands in order on macOS.
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - **Installing Node.js and Git:**
To get Node.js and Git on your Mac, run this command:
brew install node git
After this command, please make sure to follow the echo instructions at the end of the Node.js installation process.
brew install node gitnode -v && npm -v - **Installing OpenClaw CLI:**
For global installation of the OpenClaw CLI, use:
brew install openclaw
Remember to execute the echo commands specified at the end of the OpenClaw installation.
npm i -g openclawopenclaw --version - Create and move to your workspace
mkdir -p ~/.openclaw/workspace && cd ~/.openclaw/workspace - Run guided setup / checks
openclaw doctor - Check service status
openclaw status - Start gateway if needed
openclaw gateway startopenclaw gateway status - Connect WhatsApp (optional)Scan QR, then send yourself a test message.
openclaw whatsapp login - Verify everything
openclaw logs --limit 120 --plain --local-time
Security baseline after install: keep gateway local-only first, enable allowlists, and avoid exposing endpoints publicly until hardened.
Rollout Plan — Quick Start
Use this rollout plan for the fastest path to implement security best practices, stable workflows, and critical OpenClaw infrastructure correctly.
- Start with one critical workflow and clear success metric.
Use: Starter Operator Stack — fastest path to establish baseline execution discipline. - Pilot with a small scope before scaling.
Use: Personal Ops Starter + Meeting Ops Pack — validate execution quality with limited risk. - Add approval gates on sensitive actions.
Use: Security Control Bundle — adds safer controls and approval patterns. - Introduce reminders/alerts after base flow stabilizes.
Use: WhatsApp Automation Pack + Execution Core — adds real-time reminders once workflows are stable. - Document handoffs and rollback steps.
Use: Shared Brain Builder (or Team Throughput System for multi-role teams) — improves continuity and recovery readiness.
Operator Checklist
- ✅ System online and heartbeat healthy
- ✅ Messaging channels verified
- ✅ Core automations tested end-to-end
- ✅ Security controls reviewed weekly
- ✅ Memory/handoffs updated daily