To use Cursor, install the editor, open a project folder, press Cmd+I (Ctrl+I on Windows and Linux) and describe what you want Agent to do, then review the diff it produces. This guide covers setup, Agent and its modes, Tab completion, rules, safety settings and what Cursor costs as of November 2026.
- Cursor is a VS Code based editor with an AI agent (Cmd+I), Tab autocomplete and a CLI called
agent; it imports your VS Code settings in one click. - Press Shift+Tab in the agent input to rotate between modes: Agent edits code, Ask is read-only, Plan writes a plan you approve before any code changes, Debug instruments and reproduces bugs.
- Put project instructions in
.cursor/rules/*.mdcfiles or a plainAGENTS.md; a plain.mdfile inside.cursor/rulesis ignored. - Since October 2026 new users buy Cursor through The X Subscription ($8, $30, $100 or $200 a month); Claude, GPT and Gemini models are billed separately at API list price on Premium and above.
- Use the Auto-review run mode, a
.cursorignorefor secrets and Privacy Mode before you let Agent run commands on a real codebase.
How do you use Cursor?
You use Cursor like a normal code editor, with an AI agent in a side panel that can read your project, edit files and run commands. Open a folder, press Cmd+I (Ctrl+I on Windows and Linux), describe the change you want, and review the diff before you keep it.
Cursor is an AI code editor built on VS Code by Anysphere. It has three main AI surfaces:
- Agent, the side panel assistant that plans, edits files across the project, runs terminal commands and checks its own work.
- Tab, an autocomplete that predicts your next edit, sometimes several lines or files ahead.
- The
agentCLI, the same agent in your terminal, plus Cloud Agents that run on remote machines on higher plans.
One thing changed in 2026 that most tutorials have not caught up with. SpaceX completed its acquisition of Cursor in August 2026, and since 12 October 2026 new customers buy Cursor as part of The X Subscription, a single plan covering Grok, Cursor and X. The editor works the same way; the pricing section below explains what that means for models and cost.
If you are still choosing between tools, our comparison of Claude Code vs Cursor covers the trade-offs. This guide assumes you have picked Cursor and want to get good at it.
How do I install Cursor and import VS Code settings?
Download Cursor from cursor.com, sign in, and import your VS Code setup from the settings screen. The whole setup takes about five minutes on macOS 12 or later, Windows 10 or later, or Linux.
- Download the installer from cursor.com/downloads: a
.dmgon macOS (Apple Silicon and Intel), an.exeon Windows. - On Debian or Ubuntu, use the apt repository from the quickstart instead of the AppImage, so you get automatic updates and the CLI tools.
- Open Cursor and sign in.
- Open Cursor Settings with Cmd+Shift+J (Ctrl+Shift+J), go to General > Account, and click Import under VS Code Import. This copies extensions, themes, settings and keybindings.
- Open a project folder with File > Open Folder.
curl -fsSL https://downloads.cursor.com/keys/anysphere.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/cursor.gpg > /dev/nullecho "deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/cursor.gpg] https://downloads.cursor.com/aptrepo stable main" | sudo tee /etc/apt/sources.list.d/cursor.list > /dev/nullsudo apt updatesudo apt install cursorCursor installs extensions from the Open VSX registry, not the Microsoft VS Code Marketplace. Most popular extensions are there, but check the ones your work depends on before you uninstall VS Code. Both editors can run side by side on the same project.
To use the terminal agent as well, install the CLI with curl https://cursor.com/install -fsS | bash, make sure ~/.local/bin is on your PATH, and run agent inside a repository, as described in the CLI installation docs.
Which Cursor modes should you use: Agent, Ask, Plan or Debug?
Use Agent for changes, Ask for read-only questions, Plan for anything that touches several files, and Debug for bugs you can reproduce but not explain. Press Shift+Tab in the agent input to rotate between modes, or Cmd+. (Ctrl+.) to open the mode menu.
| Mode | What it does | Use it for |
|---|---|---|
| Agent | Searches, edits files, runs commands until the task is done | Small to medium changes you can describe clearly |
| Ask | Answers questions and explores code, makes no edits | Learning a new codebase, "where is X configured?" |
| Plan | Researches, asks clarifying questions, writes a plan you edit, then builds on approval | Features with several valid approaches, multi-file work |
| Debug | Forms hypotheses, adds log statements, asks you to reproduce, then fixes the root cause | Race conditions, regressions, bugs you can't explain from reading |
Plan Mode is the habit that saves the most time. The plan opens as a file you can edit, and Cursor saves plans in your home directory unless you click Save to workspace. If the build goes wrong, the Plan Mode docs recommend reverting, tightening the plan and running it again rather than patching the result with follow-up prompts.
Debug Mode works differently from a normal chat. It adds logging that reports to a local debug server, asks you to trigger the bug, then reads the real runtime data before it proposes a fix.
How do I give Cursor Agent a task?
Give Agent one clear outcome, the files or context it needs, and how to check the result. Then let it work, steer it if it drifts, and review the diff.
The quickstart suggests two first prompts that work well on any repository:
Explain this codebase. Point me to the main entry points, key modules,and anything I should read before making changes.Suggest three small, safe improvements in this codebase. Explain thetradeoffs and wait for me to choose one.For real work, a good task prompt names the goal, the constraints and the check:
Add server-side validation to the signup form in @src/app/signup.Reuse the zod schemas in @src/lib/validation.ts. Show field errorsunder each input. Add a test for an invalid email, then runnpm test and fix anything that fails.A weak version of the same request is "add validation to signup". Agent will guess where, how, and whether to test. Our guide to writing tasks for AI agents goes further on this.
Useful controls while Agent works
- @ mentions attach context: files and folders (
@auth.ts),@Terminalsfor terminal output,@Branch (Diff with Main)for your branch's changes,@Chatsfor an earlier conversation. Skip them when you don't know which files matter; Agent searches on its own. - Queue or interrupt. Press Enter while Agent works to queue the next message. Press Cmd+Enter (Ctrl+Enter) to send it immediately.
- Checkpoints. Agent snapshots files before big changes. Click a checkpoint in the chat to preview or restore it. Checkpoints are local and separate from Git, so commit anything you want to keep.
- Models. Switch with the picker at the top of the input or Cmd+/ (Ctrl+/). The context ring next to the input shows how full the context window is.

How does Cursor Tab completion work?
Cursor Tab is an autocomplete that suggests code as gray text based on your recent edits, the surrounding code and linter errors. Press Tab to accept the whole suggestion, Escape to reject it, or keep typing to ignore it.
Tab does more than finish the current line. According to the Tab help page:
| Action | Mac | Windows/Linux |
|---|---|---|
| Accept full suggestion | Tab | Tab |
| Accept next word | Cmd+Right Arrow | Ctrl+Right Arrow |
| Reject | Escape | Escape |
| Jump to the next predicted edit | Tab again after accepting | Tab again after accepting |
| Turn off or snooze | Click Tab in the status bar | Click Tab in the status bar |
Tab can edit several lines at once, add missing imports and suggest a matching edit in another file, which shows up as a small portal window at the bottom of the editor. If it gets in your way in prose files, disable it for specific extensions such as Markdown from the same status bar menu.
How do I write Cursor rules?
Cursor rules are instructions that Cursor adds to the start of the model's context so Agent follows your project's conventions every time. Put them in .cursor/rules/ as .mdc files, or write a plain AGENTS.md in the project root.
The rules docs describe four kinds: project rules (in the repo), user rules (global to your machine), team rules (managed from the dashboard on Teams and Enterprise) and AGENTS.md. Each project rule has front matter that decides when it applies:
| Rule type | Front matter | When Agent sees it |
|---|---|---|
| Always Apply | alwaysApply: true | Every chat |
| Apply to Specific Files | globs: src/**/*.tsx | When a matching file is in context |
| Apply Intelligently | description: ... | When Agent judges it relevant from the description |
| Apply Manually | none of the above | Only when you @-mention it |
---globs: src/components/**/*.tsxalwaysApply: false---- Use named exports, not default exports.- Keep components under 200 lines; extract subcomponents into the same folder.- Use the design tokens in src/styles/tokens.ts, never raw hex colors.- Run npm run typecheck after editing a component.Three things that trip people up:
- A plain
.mdfile inside.cursor/rulesis ignored. Project rules must use.mdc. If you prefer plain Markdown, useAGENTS.md. - A file mention like
@template.tsinside a rule tells Agent where to look; it does not paste the file into the prompt. - Keep each rule focused and under 500 lines. Type
/create-rulein Agent to have it write one for you.
The same principles apply to Claude Code's instruction file, covered in our CLAUDE.md best practices.
How do I keep Cursor Agent safe on a real codebase?
Pick the Auto-review run mode, keep secrets out of reach with .cursorignore, and turn on Privacy Mode. All three take a few minutes and prevent the most common accidents.
Run modes decide which tool calls run without asking. Set them in Settings > Agents > Approvals & Execution. The Run Modes docs recommend Auto-review for most people:
| Run mode | What runs without asking | Good for |
|---|---|---|
| Auto-review | Allowlisted calls; other shell commands in a sandbox when possible; the rest checked by a classifier | Daily work with few prompts |
| Allowlist | Only actions you allowlisted | Predictable behavior, cautious teams |
| Run Everything | Every tool call | Throwaway environments only |
Cursor's docs state that Auto-review "is not a security boundary": the classifier can make mistakes. You can steer it in plain English with a permissions.json in ~/.cursor/ or in the project's .cursor/ folder:
{ "autoRun": { "allow_instructions": [], "block_instructions": [ "Every command that touches the production database should go through approval first.", "Every git push should go through approval first." ] }}.cursorignore uses .gitignore syntax and blocks files from Agent, Tab and @ mentions. Cursor already respects .gitignore and ignores .env files by default. The ignore file reference warns that terminal commands and MCP tools can still read ignored files, so don't treat it as access control.
Privacy Mode is in Cursor Settings under General. With it on, Cursor states your code is not used for training by Cursor or model providers. For a broader view of the risks, read our guide to trusting AI-generated code.
How much does Cursor cost in November 2026?
Cursor costs $0, $8, $30, $100 or $200 a month for individuals as of November 2026, sold as tiers of The X Subscription. Each paid tier includes a weekly usage pool for Cursor's own models, shared with Grok; Claude, GPT and Gemini models cost extra.
| Plan | Monthly | Annual | Included usage | Third-party models |
|---|---|---|---|---|
| Free | $0 | Limited | Not available | |
| Plus | $8 | $80 | Base | Not available |
| Premium | $30 | $300 | 4x Plus | API list price, prepaid credit |
| Super | $100 | $1,000 | 15x Plus | API list price, prepaid credit |
| Ultra | $200 | $2,000 | 50x Plus | API list price, prepaid credit |
Prices exclude tax. Details from the Models and Pricing docs:
- Included models are Cursor's own: the Grok 4.x models and Composer 2.5. Plus runs them at fixed settings and has no Auto model selection, Cloud Agents, Bugbot or bring-your-own API keys.
- The pool refreshes weekly, so one heavy day doesn't use up your month. Your remaining usage shows in the editor settings.
- Third-party models such as Claude are billed at API list price from the first request, paid from prepaid credit, on Premium and above. Set a spending cap if you plan to use them heavily.
- Teams pay $30, $100 or $200 per seat a month, matching the individual tiers.
If you already pay for a legacy plan, nothing changes unless you switch. The legacy plans page maps Pro ($20) to Premium ($30), Pro+ ($60) to Super ($100) and Ultra to Ultra. Legacy plans include an allowance for other models; the new tiers do not, and switching is permanent, so compare your actual Claude or GPT usage first.
What are the most common Cursor mistakes?
Most problems with Cursor come from vague prompts, overlong chats and accepting diffs unread. The fixes are habits rather than settings.
- Asking for too much at once. "Build the billing system" produces sprawling diffs. Use Plan Mode and build in steps.
- One endless chat. Long conversations fill the context window and Cursor starts summarizing older turns. Start a new chat (Cmd+N) per task.
- Rules nobody reads. A 2,000-line always-apply rule wastes context on every request. Scope rules with globs.
- Trusting checkpoints as version control. Commit before and after each Agent task.
- Leaving the laptop to the agent. Local Agent stops when your machine sleeps. Cursor's Cloud Agents (Premium and above) cover this inside Cursor. If you run terminal agents such as Claude Code or Codex, Orkio rents an always-on cloud box where they keep working after you close your laptop, and you review the pull requests from your phone.
- Skipping review. Read every diff and run the tests. Our list of AI coding mistakes covers what slips through most often.
Your first week with Cursor: a checklist
Work through these in order and you will have a setup that is fast and hard to misuse.
- Install Cursor, import your VS Code settings and confirm your key extensions work.
- Turn on Privacy Mode and pick Auto-review in Approvals & Execution.
- Add a
.cursorignorefor secrets, build output and large generated files. - Ask mode: have Cursor explain the codebase and save the useful parts to
AGENTS.md. - Write one or two scoped
.mdcrules for conventions Agent gets wrong. - Do one real task in Plan Mode, edit the plan, then Build. Review and commit.
- Leave Tab on for a full day before deciding whether you like it.
- Check your usage after a week and decide whether you need a bigger tier or third-party models.
Frequently asked questions
Is Cursor free to use?
Cursor has a Free plan with limited Agent and Chat usage, which is enough to try it on a small project. Paid plans start at $8 a month for Plus as of November 2026, and Cloud Agents, Bugbot and third-party models need Premium at $30 a month or higher.
Can I use Claude models in Cursor?
Yes, on Premium and above, but Claude is not part of the included usage. Cursor bills third-party models such as Claude, GPT and Gemini at API list price from prepaid credit, starting from the first request. Free and Plus plans can only use Cursor's own models.
Do my VS Code extensions work in Cursor?
Most do. Cursor installs extensions from the Open VSX registry rather than the Microsoft VS Code Marketplace, so a few extensions are missing or behave differently. The one-click import under Cursor Settings, General, Account brings over your extensions, themes, settings and keybindings.
Does Cursor train on my code?
Not if you turn on Privacy Mode in Cursor Settings under General. With Privacy Mode on, Cursor states that your code is not used for training by Cursor or its model providers. Team plans have it on by default and admins can enforce it.
What happened to the Cursor Pro plan?
Pro at $20 a month is now a legacy plan. Existing Pro users keep it unless they switch, and switching to The X Subscription is permanent. New customers start on the X Subscription tiers, where Premium at $30 a month is the closest match to Pro.
Is Cursor good for beginners?
Cursor is a reasonable first AI editor because it looks like VS Code and Ask mode lets you question a codebase without changing anything. Beginners still need to read every diff and run the tests, since Agent can produce code that compiles but is wrong.

