Pillar guide
Cursor Basics: Start Using Cursor on Real Code
Cursor is an AI code editor built on VS Code. It adds Tab autocomplete, a chat that answers questions about your code, and an agent that edits files and runs commands. To use it well, match each task to the right surface and give it the right context. Then read every diff before you keep the change.

On this page
What is Cursor?
Cursor is a fork of VS Code: it is built on the VS Code codebase, with Cursor's AI features added on top. The editor will feel familiar, and your extensions, keybindings and themes carry over.
Do VS Code extensions work in Cursor?
Most popular ones do, but check yours first. Cursor installs extensions from the Open VSX registry, not the VS Code Marketplace, and not every Marketplace extension is listed there. Look up the two or three you can't work without before you move over.
How different is Cursor from a normal editor?
Less different than the demos suggest. You still open a folder, read code, commit and decide what ships. What changes is where your attention goes: less of it on typing, and more on describing the change and reading what comes back.
Reading is the half that gets skipped, because a diff you didn't write takes longer to read than the request took to type.
So in your first week, Cursor can feel slower than typing. On a small edit in a file you know by heart, typing is often faster, so make that edit yourself. The time comes back when a change spans files you would have had to open and read anyway.
This is covered hands-on in Cursor First Hour — 4 short Units, free to read.
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.
What are the core ways to use Cursor?
Most days you move between four ways of working. Tab finishes the code you're typing, Ask answers questions about your code, and Agent takes on a task across files. The fourth is a shortcut into Agent: select some lines and press ⌘CtrlK, and Agent starts from those lines.
Multi-line, edit-aware suggestions as you type. Press Tab to accept.
Questions about your codebase. Read-only: it explains without editing.
Describe a task. It edits files and runs commands, and you review the diffs.
Select code and press the shortcut. Agent opens with those lines referenced in the input.
Older guides call ⌘CtrlK inline edit, which rewrote the selected code in place. Cursor's help page now says inline edit has been replaced by this flow, where the selection goes to Agent.
What modes does the Cursor agent have?
The agent has four modes: Agent, Ask, Plan and Debug. Open the agent panel with ⌘CtrlI, then pick a mode from the mode menu (⌘.) or press ⇧⇥ to rotate through them. Plan researches the task and writes a plan you can edit before any code changes. Debug instruments your code and uses the runtime evidence to find the root cause.
On plans that include Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition., agents can also run in the cloud, and you can manage them from Cursor's iOS app.
How do you choose which surface to use?
Choose by blast radiusHow much breaks if a change goes wrong; the scope of potential damage. Press Enter for the full definition., meaning how much code a change can touch. Tab touches the line you are on, while Agent can touch files you have never opened. Pick the smallest surface that still does the job, and the review afterwards stays small too.
In practice, it is tempting to do the opposite. Agent can do the most, so it becomes the default, and then a two-line fix arrives as a nine-file diff with a refactor nobody asked for. The task is done, but nobody has read the whole diff. After a few diffs like that, it is easy to stop reading carefully at all.
Getting this choice right is the first beginner win. Ask vs Agent vs ComposerCursor's own fast coding model, tuned for the editor and priced well below frontier models; the recommended day-to-day model for executing a plan. Press Enter for the full definition. goes further into Plan modeA mode that makes no edits: it researches the codebase and produces an editable plan you review before any code changes. Press Enter for the full definition. and the Composer naming.
What order should I learn Cursor in?
Our order is built around review practice: Tab first, then Ask, then Agent on small tasks, and Plan modeA mode that makes no edits: it researches the codebase and produces an editable plan you review before any code changes. Press Enter for the full definition. once a task is big enough to plan. Each step hands you a bigger change to check.
Tab suggests a line or a few lines, so you judge each one in a second and learn what Cursor gets right about your code. Ask can't edit anything, so a wrong answer costs you only a second question. When you move to Agent, start from a selection: select the lines you mean, press ⌘CtrlK and describe the change.
If you start at Agent instead, the first diff you read is a multi-file one. You have no baseline for what good output looks like and a lot of change to check, so it is tempting to accept it. When something breaks two days later in a file you didn't know had changed, it is easy to conclude the agent is unreliable. It might be, but nobody checked the diff, so there is no way to know.
Skip the order on a throwaway repo. There is nothing to break, so go straight to Agent and see what it does. On code you care about, the order keeps each change smaller than what you will realistically read.
How do I give Cursor the right context?
Context is what Cursor can see when it answers: files, docs and conventions. Point it at the exact thing instead of hoping it finds it. Three things help, each at its own scale:
- @ mentions attach files and folders, terminal output, past chats, git diffs or context from the built-in browser to your prompt.
- Rules in
.cursor/rules/*.mdcfiles carry your conventions across chats. - Tight scope, meaning fewer open tabs and a focused selection, works better than handing over the whole repo.
Cursor's guidance is to add an @ mention when you already know a file matters. If you don't, skip it: Agent searches the codebase on its own. In a repo you haven't learned yet, guessed attachments add noise, and you can't see the noise hurting the answer.
That search runs on your machine. Cursor builds a local index and finds exact matches such as function names and error strings, so put any name you know into your prompt. Building the index doesn't upload your code, but a file the agent opens can still go to the model with your request.
Ignore files limit what the agent can read. Cursor blocks anything matched by .gitignore or .cursorignore from Agent, and its default ignore list adds environment files, lock files and more. A terminal command runs outside these controls, so it may still read an ignored file. When the agent can't find a file, check the ignore files first.
Rules work at the other end of the scale. Depending on its type, a project rule applies to every chat, when a matching file is in context, when the agent judges it relevant, or when you mention it with @. Every rule that applies spends context on that request, so keep each one short and scoped.
A rule that says to use your logger instead of console.log changes what the agent writes. A rule that describes your philosophy of clean code mostly spends tokens.
Before you blame the model for a wrong answer, check what it could see. Point Cursor at the exact files, state the constraint, then ask again.
Which Cursor model should I choose first?
Use the Cursor models guide as the current decision page. It compares Cursor's own models with third-party models by task, and it explains Router modes, pricing, context and privacy. Start with a balanced model for routine work, then compare two candidates on the same real task before you standardize.
Model names change faster than the basic workflow. Keep the task, the context and the acceptance check the same while you compare. A stronger model can't recover a missing file or an unstated constraint, and the cheapest model isn't cheaper if its output takes twice as long to review.
How should I review what Cursor changes?
Read the diff, and keep the task small enough that reading it is realistic. Agent applies its edits as it works instead of asking first, so the change already exists in your files when you look at it. The diff view is where you decide whether it stays.
Rejecting a change is a normal outcome. Even a rejected run shows you which files the change touches. Put that into the next prompt, and the second attempt starts with information the first one lacked.
Scan the file list before you read a single hunk. A file you didn't expect to see tells you more than any single line, and the list takes five seconds to read. Read the deletions next. A removed guard clause looks like a cleanup, so it is easy to approve without noticing that a check is gone.
Faster writing doesn't make review faster. Assume the model can be confidently wrong, and keep each diff small enough that a wrong change is cheap to catch.
What do beginners get wrong in Cursor?
Four mistakes cause most of the early frustration with Cursor:
- Treating mode and model as one setting.
- Handing over the whole repo instead of the right file.
- Judging a change by whether it runs instead of whether it is correct.
- Reaching for a bigger model before fixing the prompt.
Mode and model are separate choices. The mode decides which tools the agent may use, so Ask reads without writing and Plan writes a plan before it writes any code. The model decides which system does the reasoning. ComposerCursor's own fast coding model, tuned for the editor and priced well below frontier models; the recommended day-to-day model for executing a plan. Press Enter for the full definition. confuses this, because the name sounds like a mode and you pick it from the model list.
We would push back hardest on the bigger-model reflex. A wrong answer usually means the agent didn't see something it needed, and a new model gets the same incomplete input. Adding the file, or stating the constraint you left implicit, changes the input instead. Try that first: it costs less, and it addresses the most common cause.
Then there is the prompt with no acceptance test. "Make the login better" gives the agent nothing to aim at. Say what should be true when it is done, name the file if you know it, and name what must not be touched. That last instruction costs one sentence, and it keeps a small fix from turning into a refactor.
What changes when a small team uses Cursor?
Conventions move from people's heads into the repo. Rules are files under .cursor/rules/, so they get committed and reviewed like code. A convention written down once applies to everyone's runs, instead of being retyped in each person's prompts.
On a team of three or four, we would start with two rules: one for the stack and one for the paths nothing should touch. Add the next rule only after the same problem shows up in a diff twice. By then you have seen the problem the rule fixes.
The second change is in review. If everyone produces more code, the extra volume lands in review, and a team can lose a good part of its writing speed to queue time. Keep pull requests small, so a reviewer can read each one properly.
In this guide
Ask, Agent, Plan and Debug are modes that set what the agent may do, and Composer is a model. How to pick the right mode and model for each task.
Open guideInstall Cursor on macOS, Windows or Linux, sign in, and bring over your VS Code extensions, settings and keybindings in one click before your first prompt.
Open guideThe Cursor shortcuts worth learning first, from Tab and the side panel to the mode menu, with Mac and Windows keys and what changed for Cmd+K.
Open guideCustomize Cursor shortcuts with keybindings.json: when-clause syntax, how to discover context keys, the Cmd+R chord-leader change and copy-paste recipes.
Open guideWhat vibe coding is, who it fits, how to do it in Cursor with Design Mode, MCP and Bugbot, and where a prototype stops and production begins.
Open guideGrok 4.5 is still in Cursor, but Cursor now recommends Grok 4.7. See Grok 4.5's rates, effort levels, plan limits and why Cursor Router no longer needs it.
Open guideCursor Tab is AI autocomplete driven by your recent edits, surrounding code and linter errors. Accept, reject, jump between edits, or turn it off.
Open guideCursor replaced Cmd+K inline edit. Selecting code and pressing Cmd+K now opens Agent with the lines referenced, and you review the diff it makes.
Open guideImport your VS Code settings, extensions, themes and keybindings into Cursor in one click, then check the two things that change: extensions and shortcuts.
Open guideStart with Composer 2.5 and move up to Grok 4.7 or Claude Opus 5.5 for hard work. Compare Cursor's models by price, usage pool and data retention.
Open guideCursor Start costs ₹649 a month in India and is now a legacy plan. See its models, cloud and mobile access, what it leaves out and how it compares to Plus.
Open guideWhat Grok 4.6 changed from Grok 4.5, what Standard and Fast cost, how its effort levels work, and why Cursor Router needs it.
Open guideClaude Sonnet 5 is the previous Sonnet model in Cursor, replaced by Sonnet 5.5 at the same input and output rates. See its context, tokenizer change and uses.
Open guideWhat Claude Fable 5 costs in Cursor, what Anthropic keeps for 30 days, who must opt in, and why requests fall back to Opus. Fable 5.1 now replaces it.
Open guideWhen Gemini 3.1 Pro fits UI and visual coding in Cursor, what its 200k to 1M context and long-context pricing mean, and how it compares with Flash.
Open guideGemini 3.7 Flash rates, context, plan access and Token Rate status in Cursor, and why Cursor now recommends Gemini 3.8 Flash at the same price.
Open guideComposer 2.5 Standard vs Fast in Cursor: rates, the 200k context, which plans and usage pool include it, and when Cursor's own coding model fits.
Open guideOpen a folder, start Agent, describe one change and review the diff: the four steps from a fresh Cursor install to your first reviewed edit.
Open guideType @ in Cursor's chat input to attach files, folders, terminal output, earlier chats, git diffs or the browser. See what each pulls in and when to skip it.
Open guideSwitch Cursor to light or dark mode, follow your OS appearance, install theme extensions and change the editor font. Every step, with the Mac and Windows keys.
Open guideClaude Fable 5.1 in Cursor costs about 2.5x Opus 5.5 on input and output, with cache reads 75% cheaper than Fable 5. See its retention opt-in and Opus fallback.
Open guideClaude Haiku 5.5 is the fastest Claude 5.5 model in Cursor, and its rates rise 5x above 100k input tokens. See its effort levels, thinking switch and uses.
Open guideClaude Opus 5.5 replaces Opus 5 in Cursor at 20% lower per-token rates. See its cache and Fast mode pricing, regional rates, strengths and best uses.
Open guideClaude Sonnet 5.5 keeps Sonnet 5's input and output rates in Cursor, halves cache reads and scores 55.5% on CursorBench at max effort. See when Opus 5.5 wins.
Open guideWhat Gemini 3.8 Flash costs in Cursor, when its 90% cache discount and three effort levels help, and which plans can use Google's latest Flash model.
Open guideGrok 4.7 is Cursor's flagship model. See its 256k and 500k context tiers, the long-context price step, its effort levels and what Plus and Start get.
Open guideMuse Wonder is Meta's flagship model in Cursor. See its rates, six effort levels, the 300k and 1M context limits, and the Meta setting teams may need.
Open guideThe X Subscription bundles Grok, Cursor and X with a shared weekly usage pool. See who can switch, what happens to old plans and why the switch is permanent.
Open guideHobby, Start, Pro, Pro+, Ultra and legacy Teams plans keep working. See their prices, usage pools, on-demand rules and what changes if you switch.
Open guideMax Mode exists only on legacy request-based Cursor plans. How its API rate plus 20% billing works, and how current plans handle larger context.
Open guideHow GPT-5.6 Luna, Terra and Sol differ in Cursor: per-token rates, Fast mode, pricing above 272k tokens, and which model fits which kind of task.
Open guideClaude Opus 5 rates, context rules, Fast mode and Zero Data Retention status in Cursor, and what changed when Opus 5.5 replaced it.
Open guideWhy Cursor now points Gemini 3.6 Flash users to 3.8 Flash, plus the older model's rates, 200k to 1M context, and how the Token Rate shrinks its cache discount.
Open guideCursor indexes your repo locally with Instant Grep and stores no code embeddings for search. See how the agent finds code and what .cursorignore blocks.
Open guideFrequently asked questions
Is Cursor just VS Code with AI?
It is a fork of VS Code, so it feels familiar, and most popular VS Code extensions are available through the Open VSX registry. Tab autocomplete, codebase chat and Agent are built into the editor.
Do I need to know how to code to use Cursor?
You can build small things with little coding knowledge, but results are safer when you can read and review the code. Cursor still needs your judgment.
What models does Cursor use?
Cursor has its own models, the Grok models and Composer 2.5, and its catalog also includes third-party models from Anthropic, OpenAI and Google. Which ones you can use depends on your plan. The Cursor models guide has the current list and compares the models by task.
Where do I go when I'm stuck on a Cursor feature?
Ask the documentation itself. You can chat with Cursor's docs directly, with a question like 'Is GitHub Enterprise supported?', and it searches the docs and answers with the same models the agent uses. Try it before you search the pages by hand.
Should I start with Tab or with Agent?
Either works, but Tab and Ask give you small answers to judge before you review a multi-file diff. Tab suggests a line or a few lines, and Ask never edits files. Agent edits across files and runs commands, so its output takes longer to check. Move up as your reviews get faster.
Why can't Cursor find one of my files?
Check your ignore files first. Cursor blocks anything matched by .gitignore or .cursorignore from Agent, and its default ignore list adds files such as lock files, environment files and binaries. If the file isn't ignored, attach it directly with an @ mention.
Sources & last verified
- Cursor - Official site
- Cursor - Learn
- Cursor Docs - Models & Pricing
- Cursor Help: Agent mode
- Cursor Docs: Search
- Cursor Help: @ mentions and context
- Cursor Help: Ignore files
- Cursor Docs: Rules
- Cursor Help: Keyboard shortcuts
- Cursor Help: Cursor for iOS
Cursor ships frequently. Last updated October 28, 2026.