Grok Build TUI formerly Grok Build CLI
Grok Build's coding agent in your terminal

Release Date:
May 14, 2026
Language:
Provider Type:
Vendor:
SpaceXSI
Source Code Availability:
Open Source (Apache-2.0)
Development State:
Script Preview
Review this script before executing in your terminal.

Features
Terminal Bench
Pricing & Models
Supported Models
Grok models 1
- Grok 4.7
Also custom models in advanced settings.
Allows you to use your existing subscription plan
Grok Build TUI (formerly Grok Build CLI) is the terminal version of Grok Build, running on an improved version of Cursor's agent harness after SpaceX acquired Cursor.
It runs as the grok command, and existing Cursor CLI agent automations keep working.
Use it in any shell, over SSH or in CI, and bring in Claude Code or Codex CLI sessions with /import-claude, /resume-claude and /resume-codex.
Grok Build TUI FAQ
What is Grok Build?
Grok Build is SpaceXSI's coding app, which Cursor became after SpaceX acquired it. It comes as a desktop app and as Grok Build TUI for the terminal.
Grok Build TUI, formerly called Grok Build CLI, runs as the grok command on an improved version of Cursor's agent harness.
Is Grok Build TUI the same as Grok Build CLI?
Yes. Grok Build TUI is the new name for Grok Build CLI, renamed on November 30, 2026.
Grok Build TUI still runs as the grok command, and existing installs keep working.
How do I install the Grok Build CLI?
Grok Build TUI, the Grok Build CLI, installs with one command on macOS, Linux and Windows: use the install commands at the top of this page.
On Windows, Grok Build TUI runs in PowerShell, Git Bash or WSL.
How do I use Grok Build after installing it?
Grok Build TUI starts with grok in your project folder. On first launch it opens your browser so you can sign in.
Over SSH, sign in with grok login --device-auth. In CI and scripts, set an XAI_API_KEY instead.
Then give Grok Build TUI a first task, such as “Explain this repo”, or point it at a file with @.
How do I update Grok Build TUI?
Grok Build TUI updates itself with grok update, for both interactive and headless use.
grok update --check checks for a new version without installing it.
How do I exit Grok Build TUI?
Grok Build TUI quits when you press Ctrl+Q or Ctrl+D twice, or type /quit (or /exit).
In VS Code, Cursor, Windsurf and Zed terminals only Ctrl+D quits. Ctrl+C cancels the running turn rather than quitting.
What commands does Grok Build TUI have?
Grok Build TUI has slash commands such as /plan, /model, /resume, /compact and /usage. /help lists them all, and Ctrl+P opens the command palette.
Plan mode (/plan or Shift+Tab) lets Grok Build TUI plan before it edits anything, and grok --worktree starts a session in its own git worktree.
Is Grok Build free?
Grok Build TUI can be used on Grok's free plan, which includes a limited number of Grok Build agent requests.
Paid Grok plans add more usage, from $8 a month (Plus) to $200 a month (Ultra), as listed on grok.com/pricing in December 2026.
Is Grok Build TUI open source?
Yes. Grok Build TUI's source code is on GitHub at xai-org/grok-build under the Apache License 2.0.
The repository is synced from SpaceXSI's own codebase and does not accept outside contributions.
How does Grok Build TUI compare with Claude Code?
Grok Build TUI and Claude Code are both terminal coding agents.
Grok Build TUI vs Claude Code compares their features, models, pricing and benchmarks side by side.
Can Grok Build TUI use my Claude Code or Codex sessions?
Yes. Grok Build TUI resumes Claude Code sessions with /resume-claude and Codex sessions with /resume-codex.
/import-claude brings in your Claude settings.
What happened to Cursor CLI?
Cursor CLI is now part of Grok Build TUI, which runs an improved version of Cursor's agent harness.
Cursor CLI automations that call agent keep working as written.
Compare Grok Build TUI With:

Aider

Amp

Ante

Antigravity CLI

Auggie CLI

AutoHand

Blackbox CLI

Charm Crush

Claude Code

Cline CLI

Codebuff

Codewhale

Codex CLI

Command Code

Cosine

Deep Agents Code

Devin CLI

Droid CLI

ForgeCode

fx (by Vercel)

Gemini CLI

GitHub Copilot CLI

Goose CLI

IBM Bob

jcode

Junie CLI

Keen Code

Kilo Code

Kimi Code CLI

Kiro CLI

Letta Code

Mastra Code

MiMo Code

Mistral Vibe

Muse Code

Nanocode

Nanocoder

omp

OpenCode

Open Interpreter

Pi

Poolside Agent CLI

Prime Agent

Qoder CLI

Qwen Code

Ralph TUI

Rovo Dev CLI

Snowflake CoCo CLI

Standard Code

Toad

Vix

VT Code

Warp Agent CLI

Zero

zerostack

Zot

Continue

Cursor CLI

Groq Code CLI

Jules Tools

Neovate Code

OpenBlock

OpenHands CLI

Plandex
Last Updated: December 1, 2026
Request Information Update
Notice something outdated or incorrect? Let us know and we'll review it.


