mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 03:51:18 +00:00
docs(cli): align setup command hierarchy
This commit is contained in:
parent
be1c38e692
commit
f13dfd6004
7 changed files with 20 additions and 7 deletions
|
|
@ -80,7 +80,7 @@ When you run `openclaw channels add` without flags, the interactive wizard can p
|
|||
|
||||
- account ids per selected channel
|
||||
- optional display names for those accounts
|
||||
- `Bind configured channel accounts to agents now?`
|
||||
- `Route these channel accounts to agents now?`
|
||||
|
||||
If you confirm bind now, the wizard asks which agent should own each configured channel account and writes account-scoped routing bindings.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@ title: "Configure"
|
|||
|
||||
# `openclaw configure`
|
||||
|
||||
Interactive prompt to set up credentials, devices, and agent defaults.
|
||||
Interactive prompt for targeted changes to an existing setup: credentials, devices, agent defaults, gateway, channels, plugins, skills, and health checks.
|
||||
|
||||
Use `openclaw onboard` for the full guided first-run journey, `openclaw setup` for the baseline config/workspace only, and `openclaw channels add` when you only need channel account setup.
|
||||
|
||||
<Note>
|
||||
The **Model** section includes a multi-select for the `agents.defaults.models` allowlist (what shows up in `/model` and the model picker). Provider-scoped setup choices merge their selected models into the existing allowlist instead of replacing unrelated providers already in the config.
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ dedicated reference page or is documented with the command it aliases; this
|
|||
index lists the commands, the global flags, and the output styling rules that
|
||||
apply across the CLI.
|
||||
|
||||
Use the setup commands by intent:
|
||||
|
||||
- `openclaw setup` creates the baseline config and workspace without walking the full guided onboarding flow.
|
||||
- `openclaw onboard` is the full guided first-run path for gateway, model auth, workspace, channels, skills, and health.
|
||||
- `openclaw configure` changes targeted parts of an existing setup, such as model auth, gateway, channels, plugins, or skills.
|
||||
- `openclaw channels add` configures channel accounts after the baseline exists; run it without flags for guided channel setup or with channel-specific flags for scripts.
|
||||
|
||||
## Command pages
|
||||
|
||||
| Area | Commands |
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ title: "Onboard"
|
|||
|
||||
# `openclaw onboard`
|
||||
|
||||
Interactive onboarding for local or remote Gateway setup.
|
||||
Full guided onboarding for local or remote Gateway setup. Use this when you want OpenClaw to walk through model auth, workspace, gateway, channels, skills, and health in one flow.
|
||||
|
||||
## Related guides
|
||||
|
||||
|
|
@ -212,10 +212,13 @@ openclaw onboard --non-interactive \
|
|||
## Common follow-up commands
|
||||
|
||||
```bash
|
||||
openclaw channels add
|
||||
openclaw configure
|
||||
openclaw agents add <name>
|
||||
```
|
||||
|
||||
Use `openclaw setup` instead when you only need the baseline config/workspace. Use `openclaw configure` later for targeted changes and `openclaw channels add` for channel-only setup.
|
||||
|
||||
<Note>
|
||||
`--json` does not imply non-interactive mode. Use `--non-interactive` for scripts.
|
||||
</Note>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ title: "Setup"
|
|||
|
||||
# `openclaw setup`
|
||||
|
||||
Initialize `~/.openclaw/openclaw.json` and the agent workspace.
|
||||
Initialize the baseline config and agent workspace without running the full guided onboarding flow.
|
||||
|
||||
<Note>
|
||||
`openclaw setup` is for mutable config installs. In Nix mode (`OPENCLAW_NIX_MODE=1`), OpenClaw refuses setup writes because the config file is managed by Nix. Agents should use the first-party [nix-openclaw Quick Start](https://github.com/openclaw/nix-openclaw#quick-start) or the equivalent source config for another Nix package.
|
||||
|
|
@ -50,7 +50,7 @@ openclaw setup --wizard
|
|||
Notes:
|
||||
|
||||
- Plain `openclaw setup` initializes config + workspace without the full onboarding flow.
|
||||
- After plain setup, run `openclaw configure` to choose models, channels, Gateway, plugins, skills, or health checks.
|
||||
- After plain setup, run `openclaw onboard` for the full guided journey, `openclaw configure` for targeted changes, or `openclaw channels add` to add channel accounts.
|
||||
- Onboarding auto-runs when any onboarding flags are present (`--wizard`, `--non-interactive`, `--mode`, `--import-from`, `--import-source`, `--import-secrets`, `--remote-url`, `--remote-token`).
|
||||
- If Hermes state is detected, interactive onboarding can offer migration automatically. Import onboarding requires a fresh setup; use [Migrate](/cli/migrate) for dry-run plans, backups, and overwrite mode outside onboarding.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue