In this categoryCursor · 26
- How to Install Cursor and Import VS Code Settings (6 Minutes)Start
- Cursor Setup Guide: From Install to Your First AI Edit
- How to Set Up Project Rules in the .cursor/rules Folder
- How to Set Up Codebase Indexing in Cursor
- How to Enforce Project Conventions with Cursor Rules
- How to Write a Team Rule That Applies Only to Certain Files
- How to Migrate a Legacy .cursorrules File to the New Rules Folder
- How to Use Cursor Rules to Guide AI Edits
- How to Set Project Rules in Cursor
- How to Add a .cursorrules File to Steer Cursor
- How to Customize Cursor Keyboard Shortcuts
- How to Edit Multiple Files at Once with Cursor Composer
- How to Use Cursor Tab Completion Effectively
- How to Edit Code Inline with Cmd+K in Cursor
- How to Add Context to Cursor Chat with @ Mentions
- How to Choose and Switch AI Models in Cursor
- How to Add Library Docs as Context with @Docs in Cursor
- How to Generate and Maintain Tests with Cursor Composer
- How to Undo a Composer Change with Checkpoints in Cursor
- How to Use Cursor Agent Mode to Build a Feature End to End
- How to Connect an MCP Server to Cursor
- How to Refactor Across Your Whole Codebase in Cursor
- How to Query Your Database from Cursor with a Postgres MCP Server
- How to Let Cursor Run Commands Automatically (and Keep It Safe)
- How to Build a Full Feature Across Frontend and Backend with Composer
- How to Debug an MCP Server That Will Not Connect in Cursor
Cursor Setup Guide: From Install to Your First AI Edit
Install Cursor, bring over your VS Code settings and extensions, pick a model, and make your first AI edit with Tab, the Agent, and a project rule.
Cursor is an AI code editor built as a fork of VS Code, so the layout, keybindings, and extensions feel familiar while the AI features sit on top. This guide takes you from a fresh download to your first accepted AI edit: install the app, import your VS Code setup, choose a model, and try the three core tools, Tab, the Agent, and project rules.
What you need
- A Mac, Windows, or Linux machine
- A Cursor account (free Hobby plan is fine to start)
- A small project or folder to open
- About 10 minutes
Step 1: Install Cursor
Download the installer for your platform from cursor.com and run it. On first launch Cursor shows an onboarding wizard where you sign in or create an account and choose a keyboard layout. No credit card is required for the free Hobby plan.
Step 2: Import your VS Code settings and extensions
Because Cursor is built on VS Code, it can bring over your extensions, themes, keybindings, and user settings in one click. Accept the import prompt during onboarding. If you skipped it, you can trigger it later from Cursor Settings, under General, Account, Import VS Code Settings, or from the three-dots menu in the Extensions panel.
Step 3: Pick a model
Open the AI input (Cmd/Ctrl+L for the chat sidebar) and use the model picker at the bottom of the box. Auto mode lets Cursor route your request to a suitable model, or you can pin a specific frontier model such as Claude Sonnet or a GPT model. The available models and how usage is billed depend on your plan.
Step 4: Understand the plans before you commit
You can do everything in this guide on the free tier. The table below reflects the public plans on cursor.com at the time of writing. Pricing and limits change, so confirm the current numbers on the official pricing page before you upgrade.
| Plan | Price | Roughly who it is for |
|---|---|---|
| Hobby | Free | Trying Cursor; limited Agent requests and Tab completions |
| Pro | $20 / month | Solo developers; extended Agent limits, frontier models, MCP, cloud agents |
| Teams | $40 / user / month | Teams; centralized billing, SSO, shared context, admin controls |
| Enterprise | Custom | Orgs needing pooled usage, SCIM, access controls, audit logs |
Step 5: Make your first edit with Tab
Tab is Cursor's autocomplete on steroids. Start typing in a file and Cursor suggests multi-line completions, including edits across nearby lines. Press Tab to accept a suggestion. This is the fastest way to feel the difference from a plain editor.
// Start typing a function signature and let Tab complete the body:
export function formatPrice(cents: number): string {
// press Tab here; Cursor suggests the implementation
}Step 6: Ask the Agent for a change
The Agent is the conversational, multi-file mode. Open it with Cmd/Ctrl+L, describe a concrete change, and it proposes edits across the relevant files. Review each diff and accept or reject it, just like reviewing a pull request. Keep your first request small and specific.
Step 7: Add a project rule
Rules give the AI persistent context about your project so you stop repeating conventions in every prompt. Project rules live in the .cursor/rules folder as .mdc files with frontmatter. You can also drop an AGENTS.md file in the project root for plain-markdown instructions without frontmatter.
---
description: Project coding conventions
globs: src/**/*.ts
alwaysApply: true
---
- Use named exports, never default exports.
- Currency values are integer cents, never floats.
- Add a Vitest test for every new exported function.Result: Cursor is installed with your VS Code setup intact, a model selected, and you have made an edit with Tab, run a change through the Agent, and added a rule the AI will respect going forward. From here, every larger task is the same loop at greater scope.
Related guides
How to Install Cursor and Import VS Code Settings (6 Minutes)
Install Cursor and import your VS Code settings in one step: download the app, run the built-in import, and confirm your extensions and theme carried over.
How to Set Up Codebase Indexing in Cursor
Build and manage the codebase index so Cursor can find relevant code across your whole repo, and exclude what it should ignore.
Watch related tutorials
10:00
41:18
28:05
3:12
26:54
39:10New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.