Grok WorldGrok Build CLI field station

GROK BUILD CLI / 18

Update、診断、shell completion を統合する

安全な maintenance は release 識別、health inspection、変更 preview、exact result verification の順です。

CHANNELCLI 保守 / 中級 / 10 MIN
情報確認日2026-07-31
ORIGINOFFICIAL DOCS / PRIMARY

Check と install を分ける

grok update --check または --check --json は変更せず availability を確認します。--stable、--alpha、specific --version は意図的 policy choice です。

Version と release notes を記録し、既知 repair 以外で --force-reinstall を使いません。

grok update --check --json
grok --version

Fix 前に diagnose

grok doctor は terminal、clipboard、color、input、notification、sandbox、grok inspect は discovered config/extensions を調べます。

doctor fix を review し、--yes は proposed changes を事前監査した手順だけに使います。

  • Debug file を共有前に review。
  • 最初の failing layer を直す。
  • Repair 後に doctor 再実行。

Completion code を意図的に生成

grok completions SHELL を temp file へ書き、inspect 後に shell conventions で install します。

TUI /doctor は captured ledger で source-preview、grok doctor shell command は runtime-confirmed です。

grok completions zsh > /tmp/_grok
sed -n "1,40p" /tmp/_grok