Grok CLI 是一个简洁的命令行 AI 助手,可以快速接入智谱 GLM 模型进行对话和代码生成。Documentation Index
Fetch the complete documentation index at: https://docs.bigmodel.cn/llms.txt
Use this file to discover all available pages before exploring further.
一、安装 Grok CLI
使用 npm 全局安装 Grok CLI:二、环境配置
设置 API 基础 URL 和 API Key:三、启动使用
使用指定模型启动 Grok CLI:
注意事项
重要提示:目前 Grok CLI 对 thinking 模型的兼容性有限,thinking 内容会被完整显示。建议:
- 等待 Grok CLI 完善对 thinking 模型的兼容
- 或使用非 thinking 版本的模型