Edit code in the terminal
Create and modify code directly from a terminal session when an editor-centered workflow is unnecessary or unavailable.
Cursor CLI is an AI-powered command-line agent for writing, reviewing, and modifying code. It is developed by Anysphere.
Cursor CLI brings Cursor’s coding agent to command-line workflows. It can write or modify code, review changes with AI assistance, and use frontier models from more than one provider without requiring the editor interface.
Install
$ brew install --cask cursor-cliLaunch
$ cursor-agentCreate and modify code directly from a terminal session when an editor-centered workflow is unnecessary or unavailable.
Ask the agent to review code and surface issues before changes are accepted or incorporated into a wider workflow.
Use frontier models from multiple providers through one CLI instead of tying the terminal workflow to a single model source.
Individual
Free
Individual
$20.00/month
Individual
$60.00/month
Individual
$200.00/month
Team
$40.00/user/month
Enterprise
Contact sales
Cursor CLI is a terminal coding agent from Anysphere. It is designed to write and modify code directly from a terminal session.
Follow Cursor’s official CLI installation guide for your operating system, then open the terminal agent with cursor-agent.
Cursor CLI is available for macOS, Windows, and Linux, and starts with cursor-agent on each platform.
Cursor CLI has a free option plus paid individual, team, and enterprise plans. Check the pricing section for current terms.
No. Cursor CLI is proprietary software rather than an open-source CLI.