Products

Grok CLI 发布:支持 TUI 和 Headless 模式,可切换任意模型

Why we picked it

终端用户终于有了官方 Grok CLI,支持自定义模型和脚本化运行,做自动化工作流或偏好终端操作的开发者可以直接装来试试。

xAI 发布了 Grok CLI 工具,支持两种运行模式:交互式 TUI(全屏、鼠标操作)和 Headless 无人值守(通过 `grok -p` 加指令,可嵌入脚本自动运行)。

Body

该 CLI 不绑定 Grok 模型,允许用户切换任意自定义模型,同时开放了同款模型 grok-build-0.1 的 API。

支持 macOS、Linux 和 Windows 平台,安装方式详见 x.ai/cli。

Original · 小互

两种运行方式 交互式 TUI:终端里全屏、可鼠标操作 Headless 无人值守:grok -p 加指令,塞进脚本自动跑 支持切换任意自定义模型,不绑死 Grok 同款模型 grok-build-0.1 也单独开放在 API 上 macOS / Linux / Windows 都能装 详细: x.ai/cli

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Grok, CLI, terminal tools, custom models.

Source attribution: curated from 小互 (@imxiaohu).