mirror of
https://gh-proxy.org/https://github.com/klinsmaya/openclaw.git
synced 2026-11-08 03:19:29 +08:00
3.3 KiB
3.3 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Get OpenClaw installed and run your first chat in minutes. |
|
Getting Started |
Getting Started
Install OpenClaw, run onboarding, and chat with your AI assistant — all in about 5 minutes. By the end you will have a running Gateway, configured auth, and a working chat session.
What you need
- Node.js — Node 24 recommended (Node 22.14+ also supported)
- An API key from a model provider (Anthropic, OpenAI, Google, etc.) — onboarding will prompt you
Quick setup
```bash curl -fsSL https://openclaw.ai/install.sh | bash ```<Note>
Other install methods (Docker, Nix, npm): [Install](/install).
</Note>
The wizard walks you through choosing a model provider, setting an API key,
and configuring the Gateway. It takes about 2 minutes.
See [Onboarding (CLI)](/start/wizard) for the full reference.
You should see the Gateway listening on port 18789.
This opens the Control UI in your browser. If it loads, everything is working.
Want to chat from your phone instead? The fastest channel to set up is
[Telegram](/channels/telegram) (just a bot token). See [Channels](/channels)
for all options.
What to do next
WhatsApp, Telegram, Discord, iMessage, and more. Control who can message your agent. Models, tools, sandbox, and advanced settings. Browser, exec, web search, skills, and plugins. If you run OpenClaw as a service account or want custom paths:OPENCLAW_HOME— home directory for internal path resolutionOPENCLAW_STATE_DIR— override the state directoryOPENCLAW_CONFIG_PATH— override the config file path
Full reference: Environment variables.