# 使用 Homebrew Cask 安装 grok-build

查看 grok-build 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:grok-build
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask grok-build
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:grok-build
- **软件包管理器:** Homebrew Cask
- **版本:** 0.2.118
- **来源摘要:** Extensible coding agent for the terminal
- **主页:** <https://x.ai/cli>
- **最后更新:** 2026-08-01T01:24:46Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- grok (二进制)
- agent (二进制)
- agent (别名)
- grok (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.2.118
## 项目历史与用法

Grok Build is xAI's terminal coding-agent CLI, packaged in Homebrew as a cask because the official distribution is a prebuilt end-user command-line application rather than a source-built Unix formula.

### 项目历史

xAI introduced Grok Build as an early beta coding agent and CLI for professional software engineering work. The official documentation describes it as a coding agent usable through an interactive terminal UI, scripts, bots, or Agent Client Protocol clients.

The product grew around the same Grok coding-model line that xAI exposed through its API, but the CLI is the user-facing developer tool: it installs a `grok` command, provides plan and review workflows, and supports agent-extension surfaces such as skills, plugins, hooks, MCP servers, and subagents.

### 采用历史

Initial access was tied to xAI subscription accounts, which makes the package-manager story closer to a proprietary developer CLI than to a traditional open-source utility. The Homebrew cask makes the binary easier to install and update on macOS while official docs continue to point users at xAI's shell installer.

### 使用方式

The CLI is used from a terminal either as an interactive full-screen coding agent or in headless/automation contexts. xAI's docs also describe ACP operation over JSON-RPC on standard input and output for editor or tool integration.

### 为什么软件包爱好者会关心

For package nerds, Grok Build is notable as a fast-moving AI coding-agent binary distributed outside a public source repository. Its Homebrew cask record matters because it gives macOS users a package-manager path for a tool whose upstream installation docs otherwise prefer a remote installer script.

### 时间线

- 2026: xAI announced Grok Build as an early beta terminal coding agent.
- 2026: xAI documented interactive TUI, headless scripting, ACP, skills, plugins, hooks, MCP servers, and subagents for the CLI.
- 2026: Homebrew distributed Grok Build as a cask for macOS users.

### Related projects

- Related xAI surfaces include the Grok Build API model family, xAI API documentation, and integrations with agentic coding environments that can use Grok accounts or the Grok Build model.
- Adjacent package-manager comparisons include other binary coding-agent CLIs distributed through Homebrew casks or tap formulas rather than source-built packages.

### 来源

- <https://docs.x.ai/build/cli/headless-scripting>
- <https://docs.x.ai/build/features/skills-plugins-marketplaces>
- <https://docs.x.ai/build/overview>
- <https://x.ai/build/changelog>
- <https://x.ai/news/grok-build-cli>


## 安全说明

没有找到 grok-build 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - grok-build: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grok-build/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - grok-build - 0+git20260723.69f0ba8-1.2: normalized package name match | openSUSE Tumbleweed package metadata: grok-build from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Terminal AI coding agent by xAI | https://github.com/xai-org/grok-build
- winget - xAI.GrokBuild: normalized package name match | Windows Package Manager source index: xAI.GrokBuild from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - grok: installed executable or alias match | MacPorts ports tree: sysutils/grok/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Docker.Agent: installed executable or alias match | Windows Package Manager source index: Docker.Agent from https://cdn.winget.microsoft.com/cache/source.msix
- winget - GoCD.Agent: installed executable or alias match | Windows Package Manager source index: GoCD.Agent from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/grok-build.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grok-build.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
