Skip to content
Fluf
Beta

We are actively shipping every day for Fluf.

New things land daily and the product keeps getting better. Tell us what to fix or build next: we read every message.

OpenClaw setup: install, onboard and lock it down properly

OpenClaw setup from zero: Node, the installer, onboarding, the gateway service, your first channel and the security checks most guides skip.

A thinking blue Fluf between a sky owl Fluf and a teal Fluf, under a night sky.
On this page

Part of OpenClaw review: the best free AI agent comes with a second job

OpenClaw setup takes three commands on a good day: the installer, onboarding, and openclaw gateway status to check it worked. The installer adds Node if you don't have it, installs OpenClaw and starts the onboarding wizard, which can reuse an AI login you already have. This guide follows the official docs step by step, as checked on 27 November 2026, then adds the security steps most setup guides skip.

At the end, we show the same setup in Fluf, for anyone who'd rather install an app than run a gateway.

FreeMIT licence, no paid tier (openclaw.ai)
Node 26Recommended runtime
18789Default gateway port
29Chat channels supported

1. Check your machine

OpenClaw runs on macOS, Linux and Windows. The desktop app needs macOS 15 or newer. You need:

  • Node 24.16.0+ on the 24 line, or 26.1.0+. Node 26 is recommended. Check with node --version; the installer adds Node if it's missing.
  • An AI connection. An existing Claude Code or Codex CLI login, or a provider API key. Onboarding can reuse what it finds.
  • For source builds only: pnpm, and at least a 4,352 MiB Node heap. A 4 GB machine or container can't meet that, so use the default installer there.

2. Run the installer

macOS, Linux or WSL2:

curl -fsSL https://openclaw.ai/install.sh | bash

Windows, in PowerShell:

iwr -useb https://openclaw.ai/install.ps1 | iex

Prefer a package manager? With npm 11.16 or newer:

npm install -g openclaw@latest --allow-scripts=openclaw
openclaw onboard --install-daemon

pnpm, Bun, Docker, Nix and source installs are on the install page. There's also a native Windows Hub app and a macOS app on the GitHub releases page.

One warning that predates any command: the project was called Clawdbot, then Moltbot, before OpenClaw. Scammers grabbed the old handles. Only install from openclaw.ai or github.com/openclaw/openclaw.

3. Walk through onboarding

The installer starts the wizard for you. To run it again, use npx openclaw@latest. On a fresh install you get two paths:

  • Quick start reuses the AI access it detects, saves the config and opens the web dashboard.
  • Custom setup walks through every option.

openclaw onboard --classic opens the older step-by-step wizard, and openclaw configure changes settings later.

Quick start then asks whether to keep OpenClaw running in the background. Say yes unless you're just testing.

4. Install the gateway as a service

If you said no to the background prompt, stop the foreground gateway with Ctrl+C and run:

openclaw gateway install
openclaw gateway start

install registers the service: a LaunchAgent on macOS, a systemd user unit on Linux and WSL2, a Scheduled Task on Windows. start waits until the gateway passes its health checks.

5. Verify, then send a first message

openclaw --version
openclaw doctor
openclaw gateway status

The gateway should be listening on port 18789. Open the Control UI:

openclaw dashboard

Send a message in the dashboard chat. An AI reply means the model connection works. If you'd rather stay in the terminal, plain openclaw opens the TUI. If any of this fails, openclaw triage gives a read-only diagnosis; our OpenClaw not working guide has the full fix list.

6. Connect your first chat channel

OpenClaw's real power is reaching you where you already chat: WhatsApp, Telegram, Discord, Slack, Signal, iMessage and more. Telegram is the easiest first channel:

openclaw channels add --channel telegram --token <agent-token>
openclaw channels status --probe

Then message your agent, and approve yourself:

openclaw pairing list telegram
openclaw pairing approve telegram <CODE>

The full walkthrough, including groups and privacy mode, is in our OpenClaw Telegram setup guide.

7. Lock it down before you give it real access

This is the step most tutorials skip. Your assistant can read files, run commands and message people. Treat it like a new server.

  1. Run the audit. openclaw security audit reads your config and lists findings, with supported auto-fixes.
  2. Keep the gateway on loopback. A host install binds to loopback by default. Exposing it on a network needs auth; the gateway refuses a non-loopback bind without it. Container images default to an exposed bind, so set auth there yourself.
  3. Keep pairing on. Unknown DM senders get a pairing code instead of an answer. Don't switch that to open.
  4. Be strict about skills. openclaw skills install @owner/<slug> pulls from ClawHub, where researchers found hundreds of malicious skills in the ClawHavoc campaign, per Dark Reading. Read every SKILL.md before you install it. More in is OpenClaw safe.
  5. Stay updated. CVE-2026-25253, a one-click remote code execution bug, was fixed in 2026.1.29 (NVD). Run openclaw update, and openclaw backup create --verify before big jumps.
  6. Leave shell approvals on. If tools.exec.ask prompts you, that's a feature.

The same setup in Fluf

Fluf is a desktop app for Mac, Windows and Linux where you hire AI agents, each a named character with persistent memory. Where OpenClaw hands you a gateway to run, Fluf hands you an app. Here's the equivalent journey.

  1. 1Install FlufDownload for Mac, Windows or Linux
  2. 2Sign inYour browser opens, or use a code
  3. 3Connect your AIYour Claude Code or Codex login, an API key or a local model
  4. 4Hire an agentName it, press Hire, tell it the job

No Node, no service to register, no port to check. Agents run inside the app, and closing the window keeps them working. For a headless box there's a fluf CLI with an installer that needs no Node either.

The security steps from section 7 are defaults rather than chores:

  • Approvals out of the box. Agents start in Auto, which asks before spending money, deleting outside its business, messaging someone new, or changing settings and keys. Never rules hold even in Full access. See Permission modes.
  • Keys never reach the agent. They live in your system keychain and Fluf adds them to each request itself.
  • Nothing installs itself. Plugins (MCP servers) do nothing until you review them, and go back to review if they change. Skills are proposed from your own agents' verified work, and you approve each one.
  • Your AI, the allowed way. Fluf runs your installed Claude Code or Codex with your own login, or an API key. Provider terms and limits apply, and your provider bills you directly.
An agent in Fluf asking for approval before sending an email
In Auto mode, sending to someone new waits for your Approve.

Then the first real job:

Wednesday 17:40
Every weekday at 08:30, read the support inbox and draft replies to anything new. Don't send.
Iris
Done. It's a routine now: weekdays 08:30, Europe/Paris. First run tomorrow. Drafts will wait in this chat for you.

The honest trade-off: OpenClaw is free and open source, and you can read every line. Fluf isn't open source. Free covers 1 business and 6 agents, and Pro is $49€49 a month. If you want to own and tune every moving part, OpenClaw is the better fit, and this guide should get you there. If you want the result without the setup, see how they line up in Fluf vs OpenClaw, read our OpenClaw review, or browse OpenClaw alternatives. The Fluf quickstart covers the rest.

Download Fluf and give your first agent a real job tonight.

Questions people ask

What do I need to install OpenClaw?
A Mac, Windows or Linux machine, Node 24.16.0+ or 26.1.0+ (Node 26 is recommended, and the installer adds Node if it is missing), and either a Claude Code or Codex CLI login or a provider API key. Building from source also needs pnpm and at least a 4,352 MiB Node heap.
Is OpenClaw free?
Yes. OpenClaw is MIT-licensed with no subscription, hosted tier or paid edition. You pay your model provider, and for hosting if you run it on a server.
What port does OpenClaw use?
The gateway listens on port 18789 by default. Check it with openclaw gateway status, and open the Control UI with openclaw dashboard.
How do I keep OpenClaw running in the background?
Accept the background prompt during onboarding, or run openclaw gateway install and then openclaw gateway start. It installs a LaunchAgent on macOS, a systemd user unit on Linux and WSL2, or a Scheduled Task on Windows.
Can my Claude subscription power OpenClaw?
Not as part of the plan. Since 4 April 2026 Anthropic subscriptions no longer cover third-party tools like OpenClaw; you need extra usage billing or an Anthropic API key. Other providers have their own terms.

Sources

  1. OpenClaw: get started, checked 27 November 2026
  2. OpenClaw: install, checked 27 November 2026
  3. OpenClaw: security, checked 27 November 2026
  4. OpenClaw: skills, checked 27 November 2026
  5. OpenClaw: updating, checked 27 November 2026
  6. OpenClaw home page (pricing, platforms), checked 27 November 2026
  7. Business Today: Clawdbot becomes OpenClaw, checked 27 November 2026
  8. NVD: CVE-2026-25253, checked 27 November 2026
  9. Dark Reading: malicious OpenClaw skills on ClawHub, checked 27 November 2026
  10. Cybersecurity News: Claude subscriptions end for third-party tools like OpenClaw, checked 27 November 2026

TopicsOpenClawSetupLocal AI

    Search every docs page: setup, agents, models, memory, routines, chat apps and reference.