Step-by-step guide to install OpenClaw on Mac, Windows, and Linux. Learn setup, common installation errors, fixes, and how to uninstall easily.

Step-by-step guide to install OpenClaw on Mac, Windows, and Linux [Photo: X]
OpenClaw is gaining attention as a self-hosted AI agent that connects your messaging apps like WhatsApp and Telegram to powerful AI models. Instead of using AI only inside a browser, OpenClaw runs directly on your computer.
Many users now want to know how to install OpenClaw on Mac, Windows, or Linux. The process is simple and takes just a few minutes if you follow the correct steps.
OpenClaw is an open-source AI gateway that runs on your own computer or server. It connects messaging apps to AI models so you can chat with AI directly from WhatsApp, Telegram, Discord, or Slack.
Unlike normal chatbots, OpenClaw runs locally. This means:
Earlier, it was known as Clawdbot or Moltbot. Now it operates under the name OpenClaw.
You need:
To check Node version:
If you see v22 or higher, you’re ready. If not, the installer will handle it.
Open Terminal and run:
curl -fsSL https://openclaw.ai/install.sh | bash
Press Enter.
The script will:
If it doesn’t start automatically, run:
openclaw setup
Follow the on-screen instructions.
openclaw status
If it shows running, installation is complete.
Check version: Open Command Prompt
Type: node -v
Open Command Prompt and run:
npm install -g openclaw
Wait for the installation to complete.
Run:
openclaw setup
Follow the instructions to:
openclaw status
If it shows active, OpenClaw is running.
The steps are similar to Mac.
Open Terminal and type:
node -v
Install Node.js 22+ if needed.
Run:
curl -fsSL https://openclaw.ai/install.sh | bash
OR install manually:
npm install -g openclaw
openclaw setup
Follow the configuration steps.
openclaw status
Installing OpenClaw on Mac, Windows, or Linux may seem technical at first, but the process is fairly simple when broken down step by step. Most installation issues have clear fixes, and users can get the system running within minutes.
Once set up, OpenClaw operates quietly in the background, linking your messaging apps to powerful AI models while keeping control in your hands. Unlike many cloud-based AI services, it allows you to manage your own data and infrastructure.
As self-hosted AI tools gain momentum, OpenClaw represents a broader shift toward user-controlled automation, where individuals and developers decide how and where their AI systems operate.