Cli 导读
CLI reference:命令行这颗按钮到底按哪儿
命令行里的 CLI reference 像一排小开关。你要先认清哪一颗是开门、哪一颗是查看、哪一颗是修理,出错时又该先听哪一种回声。原文最响的一记鼓点,其实是:openclaw is the main CLI entry point. Each core 魔法口令 has either a dedicated reference p…。
先听这页的人话版
CLI reference
这一页不是在堆术语,它像把“CLI reference”这台小机器搬到桌上,当着你的面拆开给你看。你先不用全记住,先抓住它到底在忙什么:openclaw is the main CLI entry point. Each core 魔法口令 has either a dedicated reference page or i…。
如果把这页当成“给普通人看的版本”,你最应该带走的是:它到底在教你一件什么事、什么时候要这样做、以及哪里最容易踩坑。
第 1 站
Start Here
这一节更像安装或配置步骤,重点不是概念,而是“按什么顺序做才不会卡住”。
这一节更像安装或配置步骤,重点不是概念,而是“按什么顺序做才不会卡住”。
很多文档看起来长,其实是在防你漏掉前置条件。
真正照做时,先找前置条件,再找必填项,最后看验证方法。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:openclaw is the main CLI entry point. Each core 魔法口令 has either a dedicated reference page or is documented with the 魔法…。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:openclaw is the main CLI entry point. Each core 魔法口令 has either a dedicated reference page or is documented with the 魔法…。
openclaw is the main CLI entry point. Each core command has either a 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 魔法口令s by intent:。
Use the setup commands by intent:
这一串条目别硬背,把它当成“Start Here”门口贴出来的几张便签就行。它们在提醒你先备好什么、别漏掉什么、哪里最容易走错:openclaw setup creates the baseline 设置说明书…、openclaw onboard is the full guided first…、openclaw 设置说明书ure changes targeted parts…、openclaw 消息通道s add 设置说明书ures 消息通道 account…。
openclaw setupcreates the baseline config and workspace without walking the full guided onboarding flow.openclaw onboardis the full guided first-run path for gateway, model auth, workspace, channels, skills, and health.openclaw configurechanges targeted parts of an existing setup, such as model auth, gateway, channels, plugins, or skills.openclaw channels addconfigures channel accounts after the baseline exists; run it without flags for guided channel setup or with channel-specific flags for scripts.
第 2 站
魔法口令 pages
这一节主要在解释“魔法口令 pages”到底是干什么的,以及你什么时候会遇到它。
这一节主要在解释“魔法口令 pages”到底是干什么的,以及你什么时候会遇到它。
如果你是第一次接触 OpenClaw,这一节最值得看的不是术语本身,而是它背后的使用场景和限制。
真正动手时,先看它有没有默认值、有没有必须打开的选项、以及会不会影响安全边界。
这一小段像旁白,在提醒我们镜头已经切到下一站。
这段是在把几种选项排成表格,左边像标签,右边像说明。手机上可以横向滑动原文表格。
| Area | Commands |
|---|---|
| Setup and onboarding | crestodian · setup · onboard · configure · config · completion · doctor · dashboard |
| Reset and uninstall | backup · reset · uninstall · update |
| Messaging and agents | message · agent · agents · acp · mcp |
| Health and sessions | status · health · sessions |
| Gateway and logs | gateway · logs · system |
| Models and inference | models · infer · capability (alias for infer) · memory · commitments · wiki |
| Network and nodes | directory · nodes · devices · node |
| Runtime and sandbox | approvals · exec-policy (see approvals) · sandbox · tui · chat/terminal (aliases for tui --local) · browser |
| Automation | cron · tasks · hooks · webhooks |
| Discovery and docs | dns · docs |
| Pairing and channels | pairing · qr · channels |
| Security and plugins | security · secrets · skills · plugins · proxy |
| Legacy aliases | daemon (gateway service) · clawbot (namespace) |
| Plugins (optional) | meeting-notes · path · policy · voicecall (if installed) |
第 3 站
Global flags
这一节主要在解释“Global flags”到底是干什么的,以及你什么时候会遇到它。
这一节主要在解释“Global flags”到底是干什么的,以及你什么时候会遇到它。
如果你是第一次接触 OpenClaw,这一节最值得看的不是术语本身,而是它背后的使用场景和限制。
真正动手时,先看它有没有默认值、有没有必须打开的选项、以及会不会影响安全边界。
这一小段像旁白,在提醒我们镜头已经切到下一站。
这段是在把几种选项排成表格,左边像标签,右边像说明。手机上可以横向滑动原文表格。
| Flag | Purpose |
|---|---|
--dev | Isolate state under ~/.openclaw-dev and shift default ports |
--profile <name> | Isolate state under ~/.openclaw-<name> |
--container <name> | Target a named container for execution |
--no-color | Disable ANSI colors (NO_COLOR=1 is also respected) |
--update | Shorthand for openclaw update (source installs only) |
-V, --version, -v | Print version and exit |
第 4 站
Output modes
这一节主要在解释“Output modes”到底是干什么的,以及你什么时候会遇到它。
这一节主要在解释“Output modes”到底是干什么的,以及你什么时候会遇到它。
如果你是第一次接触 OpenClaw,这一节最值得看的不是术语本身,而是它背后的使用场景和限制。
真正动手时,先看它有没有默认值、有没有必须打开的选项、以及会不会影响安全边界。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:CLI falls back to plain URLs. Palette source of truth: src/terminal/palette.ts.
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:CLI falls back to plain URLs.
CLI falls back to plain URLs.
这一串条目别硬背,把它当成“Output modes”门口贴出来的几张便签就行。它们在提醒你先备好什么、别漏掉什么、哪里最容易走错:ANSI colors and progress indicators rende…、OSC-8 hyperlinks render as clickable link…、--json (and --plain where supported) disa…、Long-running 魔法口令s show a progress indica…。
- ANSI colors and progress indicators render only in TTY sessions.
- OSC-8 hyperlinks render as clickable links where supported; otherwise the
--json(and--plainwhere supported) disables styling for clean output.- Long-running commands show a progress indicator (OSC 9;4 when supported).
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Palette source of truth: src/terminal/palette.ts.
Palette source of truth: src/terminal/palette.ts.
第 5 站
魔法口令 tree
这一节在讲一类能力是怎么工作的:它能做什么、不能做什么、适合在什么场景下调用。
这一节在讲一类能力是怎么工作的:它能做什么、不能做什么、适合在什么场景下调用。
你理解的是能力边界,不只是功能名字。
如果这节里同时出现命令、配置和例子,优先先看例子,再回头看配置。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Full 魔法口令 tree 新本领插件s can add additional top-level 魔法口令s (for example openclaw voicecall).
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Full 魔法口令 tree。
Full command tree
这是一句直接对 OpenClaw 说的话,像你把任务清清楚楚塞到它手里。
- 这一句是在直接叫 OpenClaw 动起来:“openclaw [--dev] [--profile <name>] <command>”。你可以把它想成一句说出口就要执行的差事。
- 这一行“crestodian”是在给电脑递一张小纸条,告诉它眼下该做哪一步。
- 这一行“setup”是在给电脑递一张小纸条,告诉它眼下该做哪一步。
openclaw [--dev] [--profile <name>] <command>
crestodian
setup
onboard
configure
config
get
set
unset
file
schema
validate
completion
doctor
dashboard
backup
create
verify
security
audit
secrets
reload
audit
configure
apply
reset
uninstall
update
wizard
status
channels
list
status
capabilities
resolve
logs
add
remove
login
logout
directory
self
peers list
groups list|members
skills
search
install
update
list
info
check
plugins
list
inspect
install
uninstall
update
enable
disable
doctor
marketplace list
memory
status
index
search
meeting-notes
list
show
path
path
resolve
find
set
validate
emit
commitments
list
dismiss
wiki
status
doctor
init
ingest
compile
lint
search
get
apply
bridge import
unsafe-local import
obsidian status|search|open|command|daily
message
send
broadcast
poll
react
reactions
read
edit
delete
pin
unpin
pins
permissions
search
thread create|list|reply
emoji list|upload
sticker send|upload
role info|add|remove
channel info|list
member info
voice status
event list|create
timeout
kick
ban
agent
agents
list
add
delete
bindings
bind
unbind
set-identity
acp
mcp
serve
list
show
set
unset
status
health
sessions
cleanup
tasks
list
audit
maintenance
show
notify
cancel
flow list|show|cancel
gateway
call
usage-cost
health
status
probe
discover
install
uninstall
start
stop
restart
run
daemon
status
install
uninstall
start
stop
restart
logs
system
event
heartbeat last|enable|disable
presence
models
list
status
set
set-image
aliases list|add|remove
fallbacks list|add|remove|clear
image-fallbacks list|add|remove|clear
scan
infer (alias: capability)
list
inspect
model run|list|inspect|providers|auth login|logout|status
image generate|edit|describe|describe-many|providers
audio transcribe|providers
tts convert|voices|providers|status|enable|disable|set-provider
video generate|describe|providers
web search|fetch|providers
embedding create|providers
auth add|login|login-github-copilot|setup-token|paste-token
auth order get|set|clear
sandbox
list
recreate
explain
cron
status
list
get
add
edit
rm
enable
disable
runs
run
nodes
status
describe
list
pending
approve
reject
rename
invoke
notify
push
canvas snapshot|present|hide|navigate|eval
canvas a2ui push|reset
camera list|snap|clip
screen record
location get
devices
list
remove
clear
approve
reject
rotate
revoke
node
run
status
install
uninstall
stop
restart
approvals
get
set
allowlist add|remove
exec-policy
show
preset
set
browser
status
start
stop
reset-profile
tabs
open
focus
close
profiles
create-profile
delete-profile
screenshot
snapshot
navigate
resize
click
type
press
hover
drag
select
upload
fill
dialog
wait
evaluate
console
pdf
hooks
list
info
check
enable
disable
install
update
webhooks
gmail setup|run
proxy
start
run
coverage
sessions
query
blob
purge
pairing
list
approve
qr
clawbot
qr
docs
dns
setup
tui
chat (alias: tui --local)
terminal (alias: tui --local)
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:新本领插件s can add additional top-level 魔法口令s (for example openclaw voicecall).
Plugins can add additional top-level commands (for example openclaw voicecall).
第 6 站
Chat slash 魔法口令s
这一节在讲一类能力是怎么工作的:它能做什么、不能做什么、适合在什么场景下调用。
这一节在讲一类能力是怎么工作的:它能做什么、不能做什么、适合在什么场景下调用。
你理解的是能力边界,不只是功能名字。
如果这节里同时出现命令、配置和例子,优先先看例子,再回头看配置。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Chat 小纸条消息s support /... 魔法口令s. See slash 魔法口令s. Highlights:。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Chat 小纸条消息s support /... 魔法口令s. See slash 魔法口令s.
Chat messages support /... commands. See slash commands.
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:Highlights:。
Highlights:
这一串条目别硬背,把它当成“Chat slash commands”门口贴出来的几张便签就行。它们在提醒你先备好什么、别漏掉什么、哪里最容易走错:/status — quick diagnostics.、/trace — session-scoped 新本领插件 trace/debug…、/设置说明书 — persisted 设置说明书 changes.、/debug — runtime-only 设置说明书 overrides (me…。
/status— quick diagnostics./trace— session-scoped plugin trace/debug lines./config— persisted config changes./debug— runtime-only config overrides (memory, not disk; requirescommands.debug: true).
第 7 站
Usage tracking
这一节主要在解释“Usage tracking”到底是干什么的,以及你什么时候会遇到它。
这一节主要在解释“Usage tracking”到底是干什么的,以及你什么时候会遇到它。
如果你是第一次接触 OpenClaw,这一节最值得看的不是术语本身,而是它背后的使用场景和限制。
真正动手时,先看它有没有默认值、有没有必须打开的选项、以及会不会影响安全边界。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:openclaw status --usage and the Control UI surface provider usage/quota when OAuth/对话接口 credentials are available. Data…。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:openclaw status --usage and the Control UI surface provider usage/quota when OAuth/对话接口 credentials are available. Data…。
openclaw status --usage and the Control UI surface provider usage/quota when OAuth/API credentials are available. Data comes directly from provider usage endpoints and is normalized to X% left. Providers with current usage windows: Anthropic, GitHub Copilot, Gemini CLI, OpenAI Codex, MiniMax, Xiaomi, and z.ai.
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:See Usage tracking for details.
See Usage tracking for details.
第 8 站
Related
这一节主要在解释“Related”到底是干什么的,以及你什么时候会遇到它。
这一节主要在解释“Related”到底是干什么的,以及你什么时候会遇到它。
如果你是第一次接触 OpenClaw,这一节最值得看的不是术语本身,而是它背后的使用场景和限制。
真正动手时,先看它有没有默认值、有没有必须打开的选项、以及会不会影响安全边界。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:---。
这一串条目别硬背,把它当成“Related”门口贴出来的几张便签就行。它们在提醒你先备好什么、别漏掉什么、哪里最容易走错:Slash 魔法口令s、设置说明书uration、Environment。
如果把这一段摆成一个小场景,你会看到几样东西正在互相打招呼、拦路或者传东西。别急着记名词,先抓住它此刻到底在发生什么:---。
---
AdSense 连接验证已经放在页面头部;广告单元等站点审批通过后再启用。
google-adsense-account: ca-pub-3833673520933536