Install
via Positronick CLI
Official
Grok Build (CLI binary: grok) is SpaceXAI/xAI's terminal-based AI coding agent. It runs as a full-screen mouse-interactive TUI that understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks. It also runs headlessly for scripting/CI and embeds in editors via the Agent Client Protocol (ACP). Written in Rust; supports skills, plugins, hooks, MCP servers, sandboxing, and theming. Install prebuilt binaries for macOS, Linux, and Windows from x.ai/cli, or build from this open-source tree (synced from the SpaceXAI monorepo). Apache-2.0 first-party code. Docs: docs.x.ai/build/overview and x.ai/cli.