> ## Documentation Index
> Fetch the complete documentation index at: https://claw-tw.jackle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# setup（環境初始化）

# `openclaw setup`

初始化 `~/.openclaw/openclaw.json` 配置檔案與 Agent 工作區。

相關資訊：

* 新手引導：[馬上開始 (Getting started)](/zh-Hant/start/getting-started)
* 配置嚮導：[新手導覽 (Onboarding)](/zh-Hant/start/onboarding)

## 指令範例

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
# 執行基礎環境初始化
openclaw setup

# 指定 Agent 工作區的儲存路徑
openclaw setup --workspace ~/.openclaw/workspace
```

若要透過 `setup` 指令直接啟動新手導覽嚮導：

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw setup --wizard
```
