docs/start/getting-started.md
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.
</Tab>
<Tab title="Windows (PowerShell)">
```powershell
iwr -useb https://openclaw.ai/install.ps1 | iex
```
</Tab>
</Tabs>
<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.
mkdir -p "$HOME/.openclaw/control-ui-custom"
# Copy your built static files into that directory.
Then set:
{
"gateway": {
"controlUi": {
"enabled": true,
"root": "$HOME/.openclaw/control-ui-custom"
}
}
}
Restart the gateway and reopen the dashboard:
openclaw gateway restart
openclaw dashboard
OPENCLAW_HOME — home directory for internal path resolutionOPENCLAW_STATE_DIR — override the state directoryOPENCLAW_CONFIG_PATH — override the config file pathFull reference: Environment variables. </Accordion>