Guides

Install and set up OpenClaw

Your computer

You need a computer, internet and model access. OpenClaw is free; model replies may cost money.

Install OpenClaw

Terminal

On Ubuntu: Ctrl + Alt + T. Or open Terminal from your apps. Commands below are for Ubuntu / Debian.

Copy the command → paste here: Ctrl + Shift + V → Enter.

Paste the whole command. If the installer asks for your computer password, type it → Enter. Characters will not appear.

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

Installation finished? Close and reopen the window the same way. For errors, see the help below.

Complete setup

The installer normally starts setup for you. If it did not, run this in a new window:

Terminal
openclaw onboard

  1. Read the access notice. Do not connect personal accounts or important folders yet.
  2. Choose Quick start if OpenClaw already found working Claude Code, Codex CLI or provider access; otherwise choose Custom setup.
  3. If you need an API key, create one with a spending limit and paste it into the key field, not chat.
  4. Wait for the verified model reply. Choose Yes when asked whether OpenClaw should keep running in the background if you want the Gateway to start automatically.

Open chat

In the same window, run:

Terminal
openclaw dashboard

Chat opens in your browser. Send this there, not in the command window:

OpenClaw chat
Reply with one sentence: “Ready to go.” Do not use tools or change anything on the computer.

Got a reply? Chat works. Use the same command next time. Integrations need separate setup.

Choose a use case
If something goes wrong

The openclaw command was not found

Reopen the window; check that step 1 finished. Do not add random paths or disable protection.

Chat does not open or reply

Run these checks. Service stopped? Return to step 2. Model error? Check the key, balance and model.

Terminal
openclaw gateway status
openclaw doctor

Share the error for help, not keys or a page URL containing a token.

Official installation help
I am installing on a remote server (VPS)

Do steps 1–2 in your host’s server console as a normal user with sudo. Here, 127.0.0.1 refers to the server. Do not expose the chat port to the internet.

Connect from your laptop through an SSH tunnel; get server details from your host.

Connect to a remote server
Sources

OpenClaw Install · Getting started.