Cursor is an AI-first code editor built on VS Code — it helps developers write, edit, and debug code faster with deep context-aware AI assistance.
brew install --cask cursorWhat It Is
Cursor is an AI-first code editor forked from VS Code that embeds large language models directly into the development workflow. According to Cursor’s official documentation, it “understands your codebase and can help you write code faster with AI-powered features.” Unlike general-purpose AI assistants available as editor plugins, Cursor is built from the ground up around AI interaction — every key feature, from tab completion to multi-file editing, assumes an AI model is part of the editing surface.
The editor supports multiple AI models simultaneously — Claude 3.5 Sonnet, GPT-4o, and Cursor’s own custom models — and routes each task to the model best suited for it. Tab completions use a low-latency custom model for inline suggestions, while complex refactoring tasks call frontier models with full codebase context.
What Makes It Different
Most AI coding tools operate as a chat window bolted onto your editor. You describe what you want, copy the generated code, and paste it into the right file. Cursor collapses that loop. When you press Cmd+K with a line of code selected, the AI edits it inline — no copy-paste, no file switching. When you open the chat panel, it already knows your open files, your project structure, and your recent edits.
According to the Cursor docs, the chat feature “has context of your current file and can also be given additional context with @ symbols,” similar to how you’d mention files or functions in a code review. You can reference specific files (@filename), folders (@folder), or documentation URLs (@docs) to narrow the AI’s context.
The Agent mode goes further. You describe a task like “add user authentication with NextAuth and a Prisma database schema” and Cursor’s agent plans the work, creates or modifies the necessary files, runs terminal commands, and iterates based on build errors — all without switching windows. The official docs describe this as Cursor’s ability to “execute commands in the terminal” and “read and write files while following your instructions.”
Cursor also ships with a rules engine. You define .cursorrules files at the project root with instructions like “always use TypeScript strict mode” or “prefer functional components over classes.” These rules apply across all AI interactions in that project, maintaining consistency without repeating yourself in every prompt.
Who It’s For
Cursor fits anyone who writes code professionally — frontend developers, backend engineers, data scientists, and indie hackers alike. The features scale with your needs: tab completions help beginners write correct syntax faster, while Agent mode lets experienced developers offload boilerplate and focus on architecture decisions. The VS Code foundation means your keybindings, extensions, and settings port over seamlessly — the migration guide on Cursor’s site walks through the switch in under five minutes.
Skip it if you’re locked into a JetBrains IDE workflow (IntelliJ, WebStorm, PyCharm) and don’t want to switch editors. Cursor is VS Code under the hood, and while the AI features are compelling, they don’t justify rebuilding your IDE muscle memory if you’re deeply invested in the JetBrains ecosystem. Also skip it if your organization enforces strict air-gapped development environments — Cursor requires API access to frontier models.
Bottom Line
Cursor redefines what a code editor can do by making AI a first-class citizen of the editing experience rather than an add-on. Install it with brew install --cask cursor, import your VS Code settings, and start editing with AI that already understands your project. For a side-by-side comparison with other AI coding tools, see our Claude Code vs Cursor comparison.
Frequently Asked Questions
What is Cursor AI Editor?
How to install Cursor AI Editor?
brew install --cask cursor