• Tech Dev NotesTech Dev Notes
Track apps
  • App Lookup
  • Compare Apps
Market movement
  • Store Charts
  • Global Rankings
  • Movers
  • Version Changelog
Visual research
  • In-app UX Screens
  • Store Listing Screens
  • App Icons
Build intelligence
  • Tool Releases
  • Tech Stack
  • Developers
Tools
  • X Feature Flags
  • Grokipedia
  • Blog
  • Follow on X
Skip to content
Grok CLI

xAI · CLI · Jun 12

Grok CLI 0.2.51

0.2.50→0.2.51

Patch release with a breaking change to grok mcp add, improved Mermaid diagram rendering, a new /code-review command, several stability and UI fixes, and a memory-leak remediation.

What's new

  • [changed] grok mcp add now accepts positional arguments after -- (e.g. grok mcp add filesystem -- npx ...), supports --scope project, and adds repeatable -e/--env and -H/--header flags.
  • [new] New /code-review slash command ships with the CLI and is always available.
  • [changed] Mermaid flowcharts now render subgraph blocks as titled frames with correct internal and cross-boundary edges.
  • [changed] Mermaid class diagrams now render as proper UML boxes with attributes, methods, and inheritance arrows.
  • [changed] Permission prompts now accept a double-click on an option to submit it.
  • [fix] Plan-mode exit reminders no longer appear after the model has already begun implementing the plan.
  • [fix] Expanded thinking blocks in scrollback remain expanded once the agent finishes them.
  • [fix] grok update no longer downloads the same binary twice under concurrent updater or leader-check runs.
  • [fix] Background task IDs after /compact are now shown verbatim.
  • [fix] Typing / while scrollback is focused now focuses the prompt and opens the slash-command dropdown.
  • [fix] Dashboard empty state is now a single hint line; dispatch and peek placeholders appear only when unfocused.
  • [fix] Memory leaks that could grow the CLI to tens of gigabytes over long sessions with many tool calls have been fixed.
  • [fix] Login on SSH or headless machines now reports when the browser cannot be opened and shows the manual URL.
  • [fix] Git clone failures on Windows when installing marketplace plugins into ~/.grok have been fixed.
  • [changed] Large code blocks inside lists no longer cause multi-second UI stalls while streaming.

Under the hood

  • Shell completions for bash, zsh, fish, elvish, and PowerShell were updated to cover the new mcp add and mcp remove flags and argument forms.
  • Documentation for MCP server configuration was revised to describe the new command syntax, project scope, and header/env handling.

Upgrade notes

  • Existing grok mcp add invocations that relied on the old --command/--args/--env style must be updated to the new positional form. Project-scoped MCP entries are now supported via --scope project.
Older release← 0.2.50
All Grok CLI releases →

© 2026 Tech Dev Notes

RSSAboutAPIPrivacyTermsSitemap@techdevnotes