Guide · Agents
How to install OpenClaw at home or in the cloud: hardware, Ollama, Telegram, remote control and security
Setting up OpenClaw on Windows, Mac, Linux or in the cloud, with Ollama or a paid model: what hardware you need (measured), what it costs, how to talk to it via Telegram, control it remotely and not hand it the keys to the house.
- Updated
- Oct 30, 2026
- Reading time
- 14 min
- Tools
- 5
Short answer: OpenClaw installs with one command or with its app on Windows and Mac, or with one click on a cloud server. What decides the hardware you need isn’t OpenClaw but the model you connect: with a paid one, any computer or a server costing a few euros will do; with a local one in Ollama you need a Mac with 16 GB for simple tasks, and one with 24 GB or a 16 GB NVIDIA card to run smoothly: we measured it. Before connecting it to Telegram or WhatsApp, turn on the sandbox and check who can talk to it: an agent with access to your terminal and your messages is as useful as it is dangerous.
We measured which local models can handle a real agent, under the conditions OpenClaw uses, and published the code in our GitHub repository (in Spanish).
Commands, prices and requirements checked against the official OpenClaw documentation and each provider’s website on 30 October 2026 (OpenClaw 2026.10.3). OpenClaw changes fast: if something doesn’t match, the official documentation wins.
What OpenClaw is and why a company would want it
OpenClaw is an AI assistant that lives on your machine and that you message through the channels you already use. Its core is the Gateway: the program that keeps running, receives messages, stores conversations and decides which tools the agent can use. The language model is interchangeable.
Examples of use in a small business:
- Team questions via WhatsApp or Telegram: “which of yesterday’s orders haven’t shipped?”, answered from the files the online shop exports.
- Daily summary: email, calendar and important alerts, first thing, on the manager’s phone.
- Office tasks without opening the computer: “send me García’s quote as a PDF” from your phone.
More cases by department, and when an agent is worth it and when it isn’t, in AI agents for business: real use cases. The technical comparison with its alternatives is in agent harnesses: OpenClaw, Hermes, Claude Code and Codex, and its most direct rival has its own guide: how to install Hermes Agent at home or in the cloud.
Step 1: install OpenClaw
Windows
The recommended route is the Windows Hub app (Windows 10 20H2 or later): a signed installer you use like any program, which sets up the Gateway, sits in the system tray and includes a chat. Download it from the installation page.
If you prefer the terminal, in PowerShell:
iwr -useb https://openclaw.ai/install.ps1 | iex
It also works in WSL2 (Windows’ Linux) with the Linux installer.
Mac
There’s a menu bar app for Apple Silicon and Intel; it requires macOS 26.2 (Tahoe) or later. With an older Mac, use the terminal:
curl -fsSL https://openclaw.ai/install.sh | bash
Linux or a server
The same command as on Mac, or Docker, which on a server is the cleanest option because it isolates OpenClaw from the rest of the system. The installer sets up the Node.js version it needs if you don’t have it.
Lab tip: running a downloaded script directly is convenient but risky. Download it first, read it and then run it:
curl -fsSL https://openclaw.ai/install.sh -o install-openclaw.sh
less install-openclaw.sh
bash install-openclaw.sh
First-time setup
The installer opens the setup wizard (openclaw onboard), which asks for the model and leaves the Gateway running as a service. Check that it responds before connecting any channel:
openclaw gateway status
openclaw dashboard
The second command opens the control panel. Type something there and confirm that the assistant answers.
If you’re coming from Hermes Agent, Claude Code or Claude Desktop, OpenClaw can import your configuration, with a preview before applying anything.
Step 2: the model
Option A: a paid model (the one we recommend to start with)
OpenClaw connects to Anthropic (Claude), OpenAI, Google (Gemini), OpenRouter and many more; you choose in the setup wizard. A useful configuration is the hybrid one: a paid model as the main one and a local one as backup, or the other way round.
Option B: a local model with Ollama
A local model runs on your machine: nothing leaves the company and you don’t pay per use, but you need memory and it performs worse than the big paid ones. For OpenClaw:
- Install Ollama and download a model that can use tools (tool calling), for example
ollama pull gpt-oss:20b, orqwen3:4bif you have little memory (see step 3). - Run
openclaw onboard, choose Ollama and Local only mode (or Cloud + Local if you also want Ollama’s cloud models). - Check with
openclaw models list --provider ollama.
Three details from the official documentation worth knowing:
- Use Ollama’s native address (
http://localhost:11434, without/v1). With the OpenAI-compatible address, tool calls fail and the model writes the JSON as text. It’s exactly the opposite of Hermes. - The model needs at least 16K of context (the conversation’s working memory). With local models, OpenClaw usually caps context at 32K and tells Ollama so on every request, so you don’t need to create a Modelfile as with Hermes.
- On Windows with WSL2 and an NVIDIA card, the Ollama service may reload the last model on startup and cause restart loops. If that happens, follow the troubleshooting section of its documentation.
The alternative without Ollama: OpenClaw’s llama.cpp add-on, with the Managed local server option, looks at your machine’s memory, recommends a model, downloads it and configures it with 64K of context.
Step 3: what hardware you need (measured)
We measured five local models with tool support on a MacBook Pro M1 Max with 64 GB, with Ollama 0.40.8, plugged into mains power, and under OpenClaw’s conditions for local models: 32K context and Ollama’s native API. We gave each model a text of between 8,700 and 10,300 tokens depending on the model (the weight of an agent’s instructions and tools before it starts), with three repetitions, and five office requests in which it had to use a tool (“what’s the total of invoice F-2026-0042?”, “remind me on 15 November to pay the rent”).
| Model | Memory it takes | Until it starts replying | Writing speed | Tools used correctly |
|---|---|---|---|---|
| gpt-oss:20b (OpenAI) | 12.9 GB | 16.2 s | 43.5 tok/s | 5 of 5 |
| qwen3:4b (Alibaba) | 7.6 GB | 25.8 s | 36.0 tok/s | 5 of 5 |
| qwen3:8b (Alibaba) | 9.5 GB | 39.5 s | 25.0 tok/s | 5 of 5 |
| qwen3:30b-a3b (Alibaba) | 21.9 GB | 26.2 s | 37.9 tok/s | 5 of 5 |
| gemma4:31b (Google) | 19.4 GB | 136.6 s | 8.3 tok/s | 5 of 5 |
“Until it starts replying” is how long it takes to read that text; a token is roughly three quarters of a word. Full data and code in the repository.
What the data tells us:
- gpt-oss:20b was the fastest on everything: 16.2 seconds to start and a median of 1.3 seconds per tool request.
- qwen3:4b is the lightweight option: 7.6 GB and reasonably fast answers. At 32K, it takes less than two thirds of what it takes with Hermes’ 64K (12.9 GB).
- gemma4:31b got everything right but was the slowest on this Mac, more than two minutes before starting. The version Ollama downloads uses a format (NVFP4) designed for NVIDIA cards; on a PC with one it may do better, but we haven’t measured it.
- Without a graphics card it isn’t practical: under Hermes’ conditions we measured qwen3:4b with only 4 cores, like a normal VPS, and it took almost 4 minutes to start each reply.
- All five used the tools correctly in all five tests. These are simple requests: on long multi-step tasks, local models fail more than the big paid ones, so a backup is a good idea.
What hardware to buy or reuse
With headroom for the system and other programs (on a Mac, the graphics card can only use part of the memory, roughly between two thirds and three quarters):
| Machine | Local model for OpenClaw | Verdict |
|---|---|---|
| Computer with 8 GB | None runs smoothly | Use a paid model |
| Mac with 16 GB | qwen3:4b | Fine for simple tasks |
| Mac with 24 or 32 GB | gpt-oss:20b | The balanced option |
| Mac with 48 GB or more | Any of the five | Plenty of room |
| PC with a 12 GB NVIDIA card | qwen3:4b or qwen3:8b | Fine (not measured on NVIDIA: estimated from memory use) |
| PC with a 16 GB or larger NVIDIA card | gpt-oss:20b | Good option (not measured on NVIDIA) |
| VPS without a graphics card, including Oracle Always Free | None practical | Use a paid model |
The NVIDIA rows are an estimate based on the measured memory: on a PC, the model has to fit in the graphics card’s memory, not in the computer’s RAM.
Step 4: OpenClaw in the cloud, without wrestling with servers
If you don’t want a computer switched on all day, these are the simplest options, all with a guide in OpenClaw’s official documentation. Prices checked on each provider’s website on 30 October 2026.
| Option | What it is | Price | Who it’s for |
|---|---|---|---|
| Hostinger, OpenClaw plan (1-Click) | Managed OpenClaw: Hostinger takes care of the server, Docker and updates. You connect WhatsApp with a QR code or Telegram with the token | $4.99/month paying 24 months upfront ($119.76); $11.99/month on renewal. Includes AI credits, or you use your ChatGPT | People who don’t want to touch anything technical |
| Railway with a one-click template | Railway runs the Gateway; you use it from the web panel | Hobby plan: $5/month with $5 of usage included; trial with $5 for 30 days | People who want to deploy without a terminal |
| Oracle Cloud Always Free | Free ARM server; the official guide pairs it with Tailscale | 0 within the free tier’s limits (according to OpenClaw’s documentation, up to 4 cores and 24 GB of RAM) | People who want zero cost and can use the terminal |
| Hetzner VPS (Germany and Finland) | European server with OpenClaw in Docker, with an official step-by-step guide | From €5.99/month (Cost-Optimized) or €6.49/month (Regular), plus VAT | Data in the EU and full control |
The documentation also covers DigitalOcean, Azure, Google Cloud, Fly.io, Render, Northflank and a Raspberry Pi at home.
Watch out for the model in the cloud: these servers have no graphics card. A local model on them takes minutes to start each reply (we measured it in step 3), so the normal approach is to connect them to a paid model.
Step 5: talk to it via Telegram
-
In Telegram, talk to @BotFather (check that the name is exactly that), create a bot with
/newbotand save the token. That token is the bot’s key: don’t share it. -
Give it to OpenClaw:
openclaw channels add --channel telegram --token <bot-token> -
Check the channel with
openclaw channels status --probe. -
Message the bot from your Telegram. That first message creates a pairing request that you approve:
openclaw pairing list telegram openclaw pairing approve telegram <CODE>Codes expire after an hour.
The important part: pairing is Telegram’s default policy for direct messages: nobody talks to your agent until you approve them. Don’t relax it “to test quickly”. If you add it to a group, configure it to reply only when mentioned.
WhatsApp, Slack, Teams, Discord, Signal or iMessage follow the same logic; each channel has its guide in the channels documentation.
Step 6: control it from another computer or your phone
In OpenClaw a single Gateway is in charge (on the office mini PC, on a VPS or on the home computer) and everything else connects to it: the Mac and Windows apps, the terminal on another computer and the iPhone and Android apps, which can also lend the agent the phone’s camera, location or notifications if you pair them.
- Mac app: in the Connection tab of its settings you choose whether the Gateway runs on that Mac or you connect to a remote one, directly or over SSH.
- Windows Hub: sets up a Gateway on Windows itself or connects to one you already have.
- Terminal on another computer: connects to the remote Gateway through an SSH tunnel.
How to do it safely: by default the Gateway only listens on the machine itself, and it should stay that way. To reach it from outside, the documentation recommends Tailscale (a private network between your devices, free for personal use) or an SSH tunnel. Don’t open the Gateway to the internet: it gives access to your keys and can run commands.
Secure configuration: order matters
1. Sandbox before anything else
According to the official documentation, the main session’s tools run directly on your machine unless you configure the sandbox. Read the sandboxing guide and turn it on. If you’re going to give it terminal access, make it inside a container, not on your system. The documentation also includes hardened baseline configurations that keep the deployment private, paired and with limited tools.
2. Who can talk to your assistant
Pairing on every channel, approving only people you know. In a company, if several people don’t share the same level of trust, the documentation recommends separating them into different Gateways, servers or system users.
3. Minimal credentials
- Give it only the keys it needs for the task, with minimal permissions.
- Prefer read-only tokens where possible.
- Never paste a key into the chat with the agent: configure it as a secret.
4. Don’t expose it to the internet
Tailscale or SSH, as in step 6. If you need a whole team working against the same Gateway, the documentation has a team-server guide with verified identities and roles: don’t improvise.
5. Telemetry
By default, OpenClaw only checks once a day whether there’s a new version; anonymous statistics are optional. If you don’t want any outbound connection of its own, its documentation points to the update.checkOnStart: false option.
Checklist before connecting it to your phone
- The panel responds locally.
- The sandbox is active for tools.
- Only you (and your team) are paired on the channel.
- Keys have minimal permissions.
- The Gateway isn’t exposed to the internet; you get in through Tailscale or SSH.
- You have a backup of OpenClaw’s state (the documentation has a backup guide).
What a small business would set up, case by case
| Situation | Recommendation |
|---|---|
| I want to try it this week without spending on hardware | OpenClaw on the computer you already have + paid model + Telegram |
| I want it always available without touching anything | Hostinger’s OpenClaw plan with WhatsApp or Telegram |
| I want zero server cost | Oracle Cloud Always Free + paid model with a spending cap |
| My data can’t leave the company | Your own machine with a local model (see the hardware table) + Tailscale |
| The best of both worlds | Paid model as the main one and a local one as backup, or the other way round |
What we would use it for (and what not)
Yes: summarising email and documents, researching and preparing drafts, repetitive tasks on your own computer, alerts.
With human approval: sending messages on your behalf, publishing, moving money, deleting things. The pattern is explained in durable execution and asynchronous approval.
No: giving it access to client systems or production credentials without a credential broker in front. Why, in credential confinement: any text that reaches it can try to give it orders.
What we would do in the lab
Before putting an agent like OpenClaw to work in a company, we would run an attack test: send it messages, documents and pages with hidden malicious instructions and measure how many it manages to resist with your configuration. And we would measure with your real tasks which model pays off for you: local, paid or mixed. That’s the difference between “it seems secure” and “we know what it withstands”.
Want to bring an autonomous agent into your company without nasty surprises? Commission the experiment.
Frequently asked questions
What is OpenClaw?
OpenClaw is an open-source AI assistant (MIT licence) that runs on your own computer or server and that you talk to through the channels you already use: Telegram, WhatsApp, Slack, Teams, Discord, iMessage and more. The AI model (Claude, GPT, Gemini or a local one with Ollama) plugs in as an add-on.
Is OpenClaw free?
The software is free and open source, with no paid plan. You pay for the AI model you connect (unless you use a local one) and, if you want it always on in the cloud, for the server.
What computer do I need to use OpenClaw with a local model?
We measured it with the 32K context OpenClaw uses with local models: qwen3:4b takes 7.6 GB and gpt-oss:20b, the fastest, 12.9 GB. In practice, a Mac with 16 GB for simple tasks with qwen3:4b, and one with 24 or 32 GB, or a PC with a 16 GB NVIDIA card, for gpt-oss:20b. With 8 GB or on a VPS without a graphics card, use a paid model.
Does OpenClaw work on Windows?
Yes. The recommended option is the Windows Hub app (Windows 10 20H2 or later), which sets up the Gateway for you. There's also a PowerShell installer, installation in WSL2 and Docker. On Mac there's a menu bar app for Apple Silicon and Intel (it requires macOS 26.2 or later); on older Macs you use the terminal.
How much does it cost to run OpenClaw in the cloud?
With Hostinger's OpenClaw plan, from $4.99 a month paying 24 months upfront ($11.99 on renewal), with AI credits included. On Railway, the Hobby plan costs $5 a month with $5 of usage included. And OpenClaw's documentation explains how to use Oracle Cloud's Always Free tier. Prices checked in October 2026.
Is it safe to let an agent use my computer?
It depends on how you configure it. By default, the main session's tools run on your machine. To use it with peace of mind: turn on the sandbox, keep direct-message pairing, don't give it credentials it doesn't need, don't expose the Gateway to the internet and treat every incoming message as untrusted.