Cursor AI Introduces CLI with Advanced File Selection and Review Capabilities, Bolstering Terminal-Based AI Coding

Image for Cursor AI Introduces CLI with Advanced File Selection and Review Capabilities, Bolstering Terminal-Based AI Coding

Cursor AI has announced the release of a new command-line interface (CLI) version, significantly expanding its AI-powered coding capabilities directly to developers' terminals. The update, shipped over the weekend, integrates features such as file and folder selection, a dedicated review mode, and numerous other fixes and improvements, according to a tweet by Eric Zakariasson. This move aims to provide developers with greater flexibility and control over their AI-assisted coding workflows.

The new Cursor CLI extends the company's AI agent functionality beyond its traditional graphical user interface, allowing for seamless integration into various development environments including VS Code, JetBrains, and Neovim. As Eric Zakariasson stated in his tweet, the CLI includes "@ selection of files and folders," enabling precise targeting of code segments for AI analysis and modification. The "review mode" feature further empowers developers to efficiently scrutinize and manage AI-generated code changes directly within the terminal.

This strategic release positions Cursor AI as a versatile tool in the competitive AI coding landscape, offering both interactive and non-interactive modes for automation and scripting. The CLI supports a range of leading AI models, including GPT-5, Claude 4 Sonnet, and Gemini 2.5 Pro, ensuring that users can leverage the latest advancements in AI. This model-agnostic approach differentiates Cursor, providing users the freedom to switch between models based on their specific needs, unlike some competitor-specific CLIs.

The introduction of the CLI is expected to enhance developer efficiency by enabling tasks such as automated script writing, documentation updates, and security reviews directly from the command line. While currently in beta, the tool offers real-time steering of AI agents and adherence to custom rules, allowing for tailored AI assistance. This expansion underscores Cursor AI's mission to provide comprehensive AI coding solutions across diverse development scenarios, from local machines to remote servers and containerized environments.