AI code editor

How to use
Cursor.

Working with AI inside a real codebase: planning a change, editing files, reviewing diffs, and testing the result.

What it isAI code editor Workflows2 UpdatedJuly 2026

Inside the product

See the working surface.

A current first-party interface reference, preserved locally with its source and capture date.

Cursor editor with two agent sessions reviewing code changes beside an open source file.

Cursor’s editor keeps agent activity, proposed changes, and the underlying code visible together for review.

Interface reference · Cursor 3.0 product changelog ↗ · Captured August 2, 2026

Cursor is a AI code editor. Working with AI inside a real codebase: planning a change, editing files, reviewing diffs, and testing the result. This guide covers the whole path in one place: official access, a first session that produces something reviewable, the checks that make output trustworthy, and the permissions worth limiting before you connect real work.

Troiana principle

AI should make the work easier to inspect. If the workflow removes the source, the owner, or the review step, redesign the workflow.

01

Access & setup

Find, install, and sign in to Cursor

Get into the official Cursor experience with the right account and a setup you understand.

  1. 01

    Start at https://www.cursor.com/ and confirm the domain before entering account or payment information.

  2. 02

    Availability: macOS, Windows, and Linux.

  3. 03

    Cursor publishes installers for macOS, Windows, and Linux; choose the installer that matches your processor and operating system.

  4. 04

    Sign in with the account you intend to keep using, then review plan, data, notification, and permission settings.

  5. 05

    Run one low-risk test task before connecting sensitive files, repositories, or workspace data.

  • Use official download pages.
  • Review permissions during setup.
  • Keep installers and applications updated.
02

First session

Your first useful Cursor session

Learn the interaction loop using a small task with a clear outcome.

  1. 01

    Download Cursor, run the installer, then complete onboarding for shortcuts, theme, and terminal settings.

  2. 02

    Open one existing repository and let the editor understand that project before asking for a change.

  3. 03

    Ask for a small, scoped plan tied to named files and acceptance checks.

  4. 04

    Review the diff and run the relevant tests before accepting the edit.

  • State the outcome before the background.
  • Provide the real source material.
  • Review the result before expanding the task.
03

Quality control

Check the quality of Cursor output

Turn generated code into a change you would put your name on in review.

  1. 01

    Restate the intended behaviour and the acceptance criteria before reading a single generated line.

  2. 02

    Read the diff rather than the chat summary; the summary describes intent, the diff describes what actually changed.

  3. 03

    Run the test suite, then write a test that would fail if the change were wrong, and confirm it passes for the right reason.

  4. 04

    Check the edges the model tends to skip: error paths, null and empty cases, concurrency, and migration or rollback behaviour.

  5. 05

    Trace every new dependency, network call, and file write, and confirm each one is genuinely required.

  • Review the diff, never the description of the diff.
  • A passing test suite proves the tests pass, not that the change is correct.
  • Keep changes small enough that a human can actually review them.
04

Privacy & permissions

Use Cursor safely

Give the tool enough repository access to help, and no more than that.

  1. 01

    Decide what the tool may read and what it may write before connecting a repository.

  2. 02

    Scope tokens and integrations to the narrowest repository, branch, and permission set that still works.

  3. 03

    Keep secrets out of the context window: use environment variables and secret stores, never inline credentials.

  4. 04

    Require review before generated code touches authentication, payments, permissions, migrations, or deletion paths.

  5. 05

    Audit what the integration retained after the session, and revoke access that is no longer needed.

  • AI-generated code can appear plausible while breaking conventions, security assumptions, or tests. Keep changes small and make the test or verification step explicit.
  • Follow your organisation's approved-use policy.
  • Never treat fluent output as authorization to act.
05

Models & pricing

What Cursor costs, model by model.

Cursor is sold as monthly seats, but since June 2025 the usage inside those seats is metered as credits. The plan sets your credit allowance, not a hard feature boundary.

Cursor plans
PlanPriceBest for
HobbyFreeTrying the editor and light completions
Pro$20 / monthIndividual daily development
Pro+$60 / monthHeavy agent and multi-file work
Ultra$200 / monthSustained all-day agent workloads
Teams$40 / user / monthShared billing, admin, and policy
Annual billing takes roughly 20% off, putting Pro near $16/month and Teams near $32/user/month. Because usage is credit-metered, heavy agent use can exhaust a plan well before the month ends — the tier above is often cheaper than overage.

Figures verified 2 September 2026 against Cursor pricing ↗. Model pricing changes frequently — confirm before you budget.

Frontier and default-tier pricing across the three major providers
ProviderFrontier tierBalanced defaultLow-cost tier
OpenAIGPT-5.6 Sol — $5 / $30GPT-5.6 Terra — $2 / $12GPT-5.6 Luna — $0.20 / $1.20
AnthropicFable 5.1 — $10 / $50Sonnet 5 — $2 / $10Haiku 4.5 — $1 / $5
GoogleGemini 3.1 Pro — $2 / $12Gemini 3.1 Pro — $2 / $12Gemini 3.5 Flash-Lite — $0.15 / $1.25
Input / output USD per million tokens, standard context, before batch or caching discounts. Compare tiers by role rather than by name — vendors label their tiers differently.

Cross-provider comparison verified 2 September 2026. Sources: OpenAI API pricing ↗ · Claude platform pricing ↗ · Gemini API pricing ↗

06

Common questions

Cursor questions people actually ask.

How much does Cursor cost?

Hobby is free, Pro is $20 per month, Pro+ is $60, Ultra is $200, and Teams is $40 per user per month. Annual billing cuts roughly 20%, bringing Pro to about $16 per month. Enterprise is quoted on request.

Why did I run out of Cursor usage before the month ended?

Cursor meters usage as credits inside the seat price. Agent runs that touch many files consume credits far faster than autocomplete, so a Pro seat can be exhausted early by heavy agent work. If that happens repeatedly, the next tier up is usually cheaper than paying overage.

Cursor or GitHub Copilot?

Copilot Pro is $10 per month against Cursor Pro at $20, and Copilot keeps code completions free of credit metering on every paid plan. Cursor's advantage is the agent working across a whole repository. If you mostly want inline completion, Copilot is half the price; if you want multi-file agentic edits, Cursor is built around that.

07

Core workflows

Step-by-step ways to use Cursor for the work it does best.

Each workflow is a separate guide with its own steps and review checkpoints.

08

Official references

Check the current product documentation.

Features, plan limits, availability, and data controls change. These official pages are the starting points used for this guide.

Explore the Troiana AI Hub →