Cursor CLI
lastmod 2025-08-09created 2025-08-091 edits
Built to help you ship, right from your terminal.
Install
About
- Cursor Agent can now be used from the CLI or in headless environments, so the same commands work anywhere, in the IDE or the terminal
- In the terminal, you can review the agent's code changes, guide its work in real time, set custom rules, etc.
- Supports the latest AI models (Anthropic, OpenAI, Gemini, etc.), integrates with the IDE of your choice, and lets you write scripts and automation tasks
- Besides the native environment, supports running agents in parallel and remotely, and integrates with various development environments
- The CLI has permission to read, modify, and delete files and run commands, so it is recommended only in trusted environments