OpenClaw is an open-source, self-hosted AI assistant that runs locally on your machine or server and connects to messaging apps (Telegram, WhatsApp, Discord, Slack, and more). Created by Peter Steinberger. Supports Claude, GPT-4, Gemini, Mistral, Llama, and other models.


📋 Table of Contents

# Section
1 Installation on Mac Mini / PC
2 Installation on Remote VPS (Hetzner)


1. Installation on Mac Mini / PC

Prerequisites


Step 1 — Install Node.js 22+

OpenClaw requires Node.js version 22 or higher.

macOS:

bash

`# Option 1: via Homebrew (recommended) brew install node@22

Option 2: via nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash source ~/.zshrc # or ~/.bashrc nvm install 22 nvm use 22

Verify

node --version # should be v22.x.x or higher`

Linux (Ubuntu/Debian):