# Install grok-build with Homebrew Cask

Extensible coding agent for the terminal. Version 0.2.118 via Homebrew Cask; verified 2026-08-01. Also installable with nix: nix profile install nixpkgs#grok-build.

## Install

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

Additional install commands:

### macOS

- Homebrew Cask (100%):

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

  Evidence: local Homebrew cask metadata

## Package facts

- **Package key:** cask:grok-build
- **Package manager:** Homebrew Cask
- **Version:** 0.2.118
- **Source summary:** Extensible coding agent for the terminal
- **Homepage:** <https://x.ai/cli>
- **Last updated:** 2026-08-01T01:24:46Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- grok (binary)
- agent (binary)
- agent (alias)
- grok (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.2.118
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for grok-build. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- 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)


## Sources

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