A powerful new coding agent and CLI for complex coding work. Plan, build, test, and deploy — all from the command line.
Grok CLI adapts to your workflows and preferences with skills that work out of the box.
AGENTS.md, plugins, hooks, and MCP servers all work out of the box. No configuration needed.
Skills fire automatically when a task matches, or call them by name. Capture any session with /skillify.
The plan viewer makes it easy to architect complex projects. Start in plan mode — every edit is blocked until you approve.
Approve the plan, comment on individual steps, or rewrite it entirely. Every change shows up as a clean diff.
Bundle skills, agents, hooks, and MCP servers behind one install. Marketplace install or self-host from any git repo.
Grok CLI delegates larger tasks to specialized subagents. Each child runs in parallel with its own context window.
Plan, build, test, and deploy — everything lives in one terminal interface.
The agent reads the context, understands the target, and decides what to change. Ambiguous tasks get a quick multiple-choice to nail the details.
Architecture, logic, tests, and configuration all live in the same workspace. Multi-file edits with search-and-replace.
Terminal execution streams builds and tests live. Background tasks monitor long-running processes.
Line-by-line code review before opening a PR. Git integration for stage, commit, push, and branch management.
From planning to deployment, Grok CLI covers the full development workflow.
Propose a structured approach before writing code.
Spawn parallel agents for testing and research.
Turn workflows into reusable slash commands.
Run scripts on file edits and tool calls.
Connect to Linear, Sentry, Grafana, and more.
Set conventions and rules per directory.
Persist decisions and context across sessions.
Grep and navigate large codebases fast.
Refactor across files with search-and-replace.
Stage, commit, push, and manage branches.
Step-by-step thinking for hard problems.
Look up docs and packages from the terminal.
Run builds and tests with live streaming.
Script Grok CLI in CI/CD pipelines.
Line-by-line feedback before opening a PR.
Run untrusted code in isolated environments.
Monitor long-running builds and processes.
Customize colors, fonts, and appearance.
Ambiguous tasks get a quick multiple-choice. Pick a direction, a framework, or a schema — answers flow straight into the plan.
Start here if you want to know what Grok CLI is, how it works, and how to get started.
curl -fsSL https://x.ai/cli/install.sh | bash. Works with any codebase, any language, right now. Grok CLI is available to SuperGrok and X Premium+ subscribers.
Install now and start building with the early beta of Grok CLI.
Get started