Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
Create
Sign In
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,711+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents891
    • Coding869
    • Infrastructure377
    • Marketing357
    • Design302
    • Research276
    • Projects271
    • Analytics266
    • Testing160
    • Integration157
    • Data150
    • Security131
    • MCP125
    • Learning124
    • Extensions108
    • Communication107
    • Prompts100
    • Voice90
    • Commerce89
    • DevOps70
    • Web66
    • Finance17
    Sign In
    1. Home
    2. Tools
    3. Cursor CLI
    Cursor CLI icon

    Cursor CLI

    Command Line Assistants

    Terminal-based Cursor Agent you can run interactively or headless to write, review, and modify code from any shell or CI system.

    Visit Website

    At a Glance

    Pricing

    Free tier available
    Trial available

    Includes IDE, Web, and CLI access with limited monthly usage allowance. After hitting limits, continue with Auto mode (Cursor's model selector) at no extra cost.

    Try Cursor CLI for 14 days with access to Free trial available.

    Pro: $20/mo
    Ultra: $200/mo

    Engagement

    Available On

    Windows
    macOS
    Linux
    API

    Resources

    WebsiteDocsllms.txt

    Topics

    Command Line AssistantsVibe CodingAI Coding Assistants

    Alternatives

    AmpCodexCline

    Developer

    Anysphere, Inc.Anysphere, Inc. makes Cursor and describes itself as an appl…

    Updated Feb 2026

    About Cursor CLI

    Cursor CLI brings Cursor’s Agent to the terminal. It’s designed for two modes: an interactive TUI for hands-on coding sessions, and a non-interactive “print” mode for scripts and CI. The agent can read/write files, search your codebase, and (with approval) run shell commands. It respects the same Rules system as the IDE (.cursor/rules), reads AGENTS.md/CLAUDE.md at the repo root, and supports MCP servers you’ve configured. It works with any model included in your Cursor subscription. The CLI is in beta; use it only in trusted environments.

    WHERE YOU CAN USE IT • Local shells (bash/zsh/fish) on macOS, Linux, and Windows via WSL.
    • Remote servers, containers, Codespaces, and CI (e.g., GitHub Actions).
    • Alongside editors like Neovim or JetBrains—keep your editor, add Cursor’s Agent.

    SETUP (QUICK START)

    1. Install:
      curl https://cursor.com/install -fsS | bash
      (Then ensure ~/.local/bin or the printed path is on $PATH.)
    2. Verify:
      cursor-agent --version
    3. Start an interactive session:
      cursor-agent
    4. Optional auth for headless/CI: set CURSOR_API_KEY and run with -p/--print.
    5. Auto-updates run by default; you can manually upgrade with cursor-agent update.

    INTERACTIVE WORKFLOW (TERMINAL UI) • Start with or without an initial prompt:

    • cursor-agent
    • cursor-agent "refactor the auth module to use JWT" • Steer and review:
    • Review diffs with Ctrl+R; use I to add follow-up instructions.
    • Select context with @ to include specific files or folders.
    • Use /compress to shrink context when you hit token limits.
      • History: cursor-agent ls to list sessions; cursor-agent resume (or --resume <id>) to continue a thread. • Command safety: the CLI asks you to approve (Y) or reject (N) shell commands before execution.

    NON-INTERACTIVE / HEADLESS (SCRIPTS & CI) • Print mode for scripts/automation:

    • cursor-agent -p -m gpt-5 "find and fix performance issues"
      • Output formats for automation:
    • --output-format json emits a single result JSON object.
    • --output-format stream-json emits NDJSON events (system init, deltas, tool calls, result)—perfect for progress UI or jq pipelines.
    • --output-format text prints human-readable progress lines. • File writes in print mode are gated: pass --force to allow edits (otherwise changes are only proposed). • CI example (GitHub Actions): install the CLI, export CURSOR_API_KEY, and run an agent step with your prompt/model. You can choose full autonomy (agent handles git/PRs) or a restricted model where critical operations remain deterministic in separate steps.

    CONFIGURATION & EXTENSIBILITY • Rules: place repo-scoped rules under .cursor/rules/; the CLI also reads AGENTS.md and CLAUDE.md.
    • MCP: the CLI auto-discovers your MCP servers (mcp.json) and will invoke tools when relevant; you can list servers and tools via cursor-agent mcp ....
    • Permissions: lock down capabilities per project or globally in .cursor/cli.json or ~/.cursor/cli-config.json using allow/deny tokens—e.g., Shell(git), Read(src/**/*.ts), Write(package.json). In print mode, writes still require --force.

    TUTORIAL: FROM ZERO TO AUTOMATION

    1. Plan before editing: start with “do not write any code” to force a plan. Approve the plan, then drop the guard to allow edits.
    2. Interactive refactor: cursor-agent → describe the goal → use @ to add just the modules you need → Ctrl+R to inspect diffs → approve or request changes with I.
    3. Structured code review: cursor-agent -p --output-format json "review these changes for security issues" | jq '.result' → save results to a file or post to a PR.
    4. Apply changes in batch: find src -name "*.js" | while read f; do cursor-agent -p --force "add JSDoc comments to $f"; done.
    5. Streaming dashboards: run with --output-format stream-json and pipe to a small script to track tool events (reads/writes) and total duration in real time.
    6. CI with guardrails: configure deny rules for Shell(git) and .env* writes; let the agent only modify docs, then commit/push in a deterministic step.

    PRO TIPS • Use model selection (--model <name>) to match the task—faster models for quick edits, frontier models for deep refactors.
    • Keep prompts scoped; combine with @ context selection and /compress for long repositories.
    • Save time with sessions: ls and resume let you iterate across days while keeping context.
    • Encode your conventions in .cursor/rules/ and AGENTS.md so teams get consistent diffs and messages.
    • Prefer restricted autonomy + explicit CI steps for production pipelines; reserve full autonomy for sandboxes.

    SECURITY NOTE The CLI can read, modify, and delete files, and run commands (interactive approval in TUI; --force required for writes in print mode). Use in trusted environments and apply permission rules for least privilege.

    Cursor CLI - 1

    Community Discussions

    Be the first to start a conversation about Cursor CLI

    Share your experience with Cursor CLI, ask questions, or help others learn from your insights.

    Pricing

    FREE

    Free Plan Available

    Includes IDE, Web, and CLI access with limited monthly usage allowance. After hitting limits, continue with Auto mode (Cursor's model selector) at no extra cost.

    • Pro two-week trial
    • Limited Agent requests
    • Limited Tab completions
    • Access to IDE, Web, and CLI
    • Auto mode fallback when limits reached
    TRIAL

    14 days

    Try Cursor CLI for 14 days with access to Free trial available.

    • Free trial available

    Pro

    Includes IDE, Web, and CLI with expanded monthly usage allowance measured against model API rates. Option to enable pay-as-you-go (API price + ~20%) for specific models/Max Mode after limits.

    $20
    per month
    • Extended limits on Agent
    • Unlimited Tab completions
    • Background Agents
    • Bugbot access (limited)
    • Maximum context windows
    • All surfaces (IDE/Web/CLI) share same account limits

    Ultra

    Premium tier with ~20× usage on OpenAI, Claude, and Gemini models. Same pay-as-you-go option available after generous limits.

    $200
    per month
    • Everything in Pro
    • ≈20× usage on OpenAI, Claude, Gemini models
    • Priority access to new features
    • Highest monthly usage allowance

    Bugbot (Add-on)

    Add-on

    Separately priced automated PR review service. Not included in Pro/Ultra plans. Has its own free tier with limited reviews. Teams pricing at $40/user/month.

    $40
    per month
    • Automated PR reviews
    • Higher review limits than free tier
    • Advanced code analysis features
    • Team collaboration features (Teams plan)
    View official pricing

    Capabilities

    Key Features

    • Interactive terminal UI for coding with Cursor Agent
    • Non-interactive print mode for scripts and CI
    • Model selection using any model in your Cursor plan
    • Review proposed edits with diff viewer and approve changes
    • Real-time steering (add instructions without leaving the session)
    • Context targeting with @ and on-demand summarization (/compress)
    • Session history: list and resume prior conversations
    • Command approval workflow for shell execution
    • Multiple output formats: text, json, stream-json
    • Headless usage with CURSOR_API_KEY for automation
    • Rules support (.cursor/rules) plus AGENTS.md/CLAUDE.md ingestion
    • MCP servers for external tools and data sources
    • Project/global permission rules (allow/deny reads, writes, shell)
    • Auto-update and manual upgrade commands
    • GitHub Actions guide and CI guardrail patterns

    Integrations

    Bash
    Zsh
    Fish
    Neovim
    JetBrains IDEs
    Android Studio
    Warp
    Ghostty
    GitHub Actions
    MCP servers
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate Cursor CLI and help others make informed decisions.

    Developer

    Anysphere, Inc.

    Anysphere, Inc. makes Cursor and describes itself as an applied research lab focused on automating coding via a human–AI programmer model; its flagship is Cursor, an AI-native coding environment (desktop, web, mobile, browser, and CLI) that edits code using natural-language instructions with repo context. ### Key facts about Anysphere **Founding & team:** Founded in 2022 as a research-driven, product-shipping team by four MIT classmates: Michael Truell (CEO), Sualeh Asif, Arvid Lunnemark, and Aman Sanger. Early teammates emphasize applied research + shipping velocity. **Locations & hiring:** San Francisco and New York; active recruiting across engineering and go-to-market roles. **Growth & funding:** Widely reported 2025 round of ~$900M led by Thrive Capital (with a16z, Accel, DST) at a ~$9–9.9B valuation; rapid revenue ramp noted across multiple outlets. **Adoption & perception:** Coverage cites use at major tech companies and the rise of vibe coding; Bugbot expanded Cursor’s debugging footprint. **Public presence:** LinkedIn (hiring, large following) and Product Hunt launches (Cursor milestones) with active community engagement. ### What makes Anysphere distinctive **Research → product:** Invention at the boundary of useful/possible, shipped quickly as pragmatic developer tools (Cursor, Bugbot, Agents, CLI). **Unified surfaces:** One mission across desktop IDE, browser, mobile, and CLI with shared concepts (rules, repo context, agent workflows). **Scale & momentum:** Fast valuation and user growth documented across press and community channels.

    Read more about Anysphere, Inc.
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    Amp icon

    Amp

    Agentic coding tool built by Sourcegraph that provides autonomous reasoning, comprehensive code editing, and complex task execution in VS Code, Cursor, Windsurf, and CLI.

    Codex icon

    Codex

    Cloud-based software engineering agent that answers codebase questions, executes code, and drafts pull requests.

    Cline icon

    Cline

    Conversational AI coding assistant that helps developers write and modify code through natural language.

    Browse all tools

    Related Topics

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    92 tools

    Vibe Coding

    Vibe code using low code AI tools that let you build applications with natural language prompts with minimal code.

    106 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    332 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Sign in
    146views