Cursor CLI and Grok both use the 'agent' command name
Melvin Vivas · X post · 2026-08-18 · Open on X
Topics: AI Dev Tools & Productivity · Level: beginner
Summary
The creator says Cursor CLI and Grok both run with the same 'agent' alias, so they clash in the terminal. The general lesson is that AI coding CLIs can claim the same command name, and you need to rename or re-alias one to use both. The post does not explain how to fix it.
Key points
- Cursor CLI and Grok both use the 'agent' alias to run, so the two clash.
- When you install several AI coding CLIs, check whether they use the same command name.
- Usual fix (not described in the post): give one tool its own shell alias or wrapper script, or change which one comes first on your PATH.
Resources mentioned
- Cursor · tool · x.com · free · recommended by both Bashiri Smith & Melvin Vivas
AI-native code editor (VS Code with AI built in).
Also in: GLM 5.3 and GLM 5.3 Flash now in Cursor (Melvin Vivas on X · notes), Grok Bot Can Now Hand Off Coding Tasks to Cursor (Melvin Vivas on X · notes), Why Plan Mode Still Matters in AI Coding Assistants (Codex, Claude, Cursor) (Melvin Vivas on X · notes), Why Plan Mode Still Matters in AI Coding Agents (Codex, Claude, Cursor) (Melvin Vivas on X · notes) and 121 more - Grok · tool · x.com · free
xAI's AI assistant. Here it is used as a terminal coding agent that also runs with the 'agent' alias.
Also in: OpenAI Dots: Agents Inside ChatGPT That Debug, Fix, and Open PRs (Melvin Vivas on X · notes), Grok Team Bots: Shared AI Teammates in Slack and Grok (Melvin Vivas on X · notes), Cue by Manus: A New Rival to the Grok Bot on X (Melvin Vivas on X · notes), How to Grow an X (Twitter) Account: 9 Practical Tips from Melvin Vivas (Melvin Vivas on X · notes) and 14 more
Try this
- Resolve the 'agent' alias clash so Cursor CLI and Grok can both be used
More in AI Dev Tools & Productivity
- Claude Cowork Comes to Mobile and Web (Beta Announcement)
- Origin: A New Code Hosting Platform and Its Getting-Started Guide
- Pi v0.84.2 Release: Transcript Search and Configurable Default Tools
- GPT-5.6 Luna vs Sol: Making Codex Usage Limits Last Longer
- Track Codex Usage Limits Live with an Open-Source Windows Taskbar Widget
- Edit Notebooks Locally in Cursor, Run on Colab GPUs via the Colab Plugin