CLI commands

CLI संदर्भ

openclaw मुख्य CLI प्रवेश बिंदु है। प्रत्येक मुख्य कमांड के लिए या तो एक समर्पित संदर्भ पेज है या वह उस कमांड के साथ दस्तावेज़ित है जिसका वह alias है; यह इंडेक्स कमांड, वैश्विक flags, और आउटपुट styling नियम सूचीबद्ध करता है जो पूरे CLI पर लागू होते हैं।

setup कमांड को उद्देश्य के अनुसार उपयोग करें:

  • openclaw setup और openclaw onboard gateway, model auth, workspace, channels, skills, और health के लिए पूरा निर्देशित first-run path चलाते हैं।
  • openclaw setup --baseline निर्देशित onboarding flow से गुज़रे बिना baseline config और workspace बनाता है।
  • openclaw configure मौजूदा setup के लक्षित हिस्से बदलता है, जैसे model auth, gateway, channels, plugins, या skills।
  • openclaw channels add baseline मौजूद होने के बाद channel accounts configure करता है; निर्देशित channel setup के लिए इसे बिना flags चलाएं या scripts के लिए channel-specific flags के साथ।

कमांड पेज

क्षेत्र कमांड
Setup और onboarding crestodian · setup · onboard · configure · config · completion · doctor · dashboard
Reset और uninstall backup · reset · uninstall · update
Messaging और agents message · agent · agents · attach · acp · mcp
Health और sessions status · health · sessions
Gateway और logs gateway · logs · system
Models और inference models · infer · capability (infer के लिए alias) · memory · commitments · wiki
Network और nodes directory · nodes · devices · node
Runtime और sandbox approvals · exec-policy (approvals देखें) · sandbox · tui · chat/terminal (tui --local के लिए aliases) · browser
Automation cron · tasks · hooks · webhooks · transcripts
Discovery और docs dns · docs
Pairing और channels pairing · qr · channels
Security और plugins security · secrets · skills · plugins · proxy
Legacy aliases daemon (gateway service) · clawbot (namespace)
Plugins (वैकल्पिक) path · policy · voicecall · workboard (यदि install हो)

वैश्विक flags

Flag उद्देश्य
--dev state को ~/.openclaw-dev के अंतर्गत isolate करें और default ports shift करें
--profile <name> state को ~/.openclaw-<name> के अंतर्गत isolate करें
--container <name> execution के लिए किसी named container को target करें
--no-color ANSI colors अक्षम करें (NO_COLOR=1 का भी सम्मान किया जाता है)
--update openclaw update के लिए shorthand (केवल source installs)
-V, --version, -v version print करें और exit करें

आउटपुट modes

  • ANSI colors और progress indicators केवल TTY sessions में render होते हैं।
  • OSC-8 hyperlinks समर्थित जगहों पर clickable links के रूप में render होते हैं; अन्यथा CLI plain URLs पर fall back करता है।
  • --json (और जहां समर्थित हो --plain) clean output के लिए styling अक्षम करता है।
  • लंबे समय तक चलने वाली commands progress indicator दिखाती हैं (समर्थित होने पर OSC 9;4)।

Palette source of truth: src/terminal/palette.ts.

कमांड tree

पूरा command tree
Code
openclaw [--dev] [--profile <name>] <command>crestodiansetuponboardconfigureconfig  get  set  unset  file  schema  validatecompletiondoctordashboardbackup  create  verifysecurity  auditsecrets  reload  audit  configure  applyresetuninstallupdate  wizard  statuschannels  list  status  capabilities  resolve  logs  add  remove  login  logoutdirectory  self  peers list  groups list|membersskills  search  install  update  list  info  checkplugins  list  inspect  install  uninstall  update  enable  disable  doctor  marketplace listworkboard  list  create  show  dispatchmemory  status  index  searchtranscripts  list  show  pathpath  resolve  find  set  validate  emitcommitments  list  dismisswiki  status  doctor  init  ingest  compile  lint  search  get  apply  bridge import  unsafe-local import  obsidian status|search|open|command|dailymessage  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  banagentagents  list  add  delete  bindings  bind  unbind  set-identityattachacpmcp  serve  list  show  set  unsetstatushealthsessions  cleanuptasks  list  audit  maintenance  show  notify  cancel  flow list|show|cancelgateway  call  usage-cost  health  status  probe  discover  install  uninstall  start  stop  restart  rundaemon  status  install  uninstall  start  stop  restartlogssystem  event  heartbeat last|enable|disable  presencemodels  list  status  set  set-image  aliases list|add|remove  fallbacks list|add|remove|clear  image-fallbacks list|add|remove|clear  scaninfer (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|clearsandbox  list  recreate  explaincron  status  list  get  add  edit  rm  enable  disable  runs  runnodes  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 getdevices  list  remove  clear  approve  reject  rotate  revokenode  run  status  install  uninstall  stop  restartapprovals  get  set  allowlist add|removeexec-policy  show  preset  setbrowser  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  pdfhooks  list  info  check  enable  disable  install  updatewebhooks  gmail setup|runproxy  start  run  coverage  sessions  query  blob  purgepairing  list  approveqrclawbot  qrdocsdns  setuptuichat (alias: tui --local)terminal (alias: tui --local)

Plugins अतिरिक्त top-level commands जोड़ सकते हैं, जैसे openclaw workboard या openclaw voicecall.

Chat slash commands

Chat messages /... commands का समर्थन करते हैं। slash commands देखें।

मुख्य बातें:

  • /status — त्वरित diagnostics।
  • /trace — session-scoped plugin trace/debug lines।
  • /config — persisted config changes।
  • /debug — runtime-only config overrides (memory, disk नहीं; commands.debug: true आवश्यक है)।

Usage tracking

OAuth/API credentials उपलब्ध होने पर openclaw status --usage और Control UI provider usage/quota दिखाते हैं। डेटा सीधे provider usage endpoints से आता है और X% left में normalize किया जाता है। मौजूदा usage windows वाले providers: Anthropic, GitHub Copilot, Gemini CLI, OpenAI Codex, MiniMax, Xiaomi, और z.ai।

विवरण के लिए Usage tracking देखें।

संबंधित

Was this useful?
On this page

On this page