Quickstart
Get started with Cursor in 5 minutes
This quickstart will walk you through a project using Cursor’s core features. By the end, you’ll be familiar with Tab, Inline Edit, and Agent.
Open a project in Cursor
Use an existing project or clone our example:
- Ensure git is installed
- Clone the example project:
- Ensure git is installed
- Clone the example project:
- Open Cursor
- Open a project folder with Ctrl+O or
cursor <path-to-project>
We’ll be showcasing using the example project, but you can use any project you have locally.
Autocomplete with Tab
Tab is the autocomplete model we’ve trained in-house. It’s a great way to ease into AI assisted coding if you’re not used to it. With Tab, you can:
- Autocomplete multiple lines and blocks of code
- Jump in and across files to the next autocomplete suggestion
- Start typing the beginning of a function:
- Tab suggestions appear automatically
- Press Tab to accept the suggestion
- Cursor suggests parameters and function bodies
Inline Edit a selection
- Select the function you just created
- Press Ctrl+K
- Type “make this function calculate fibonacci numbers”
- Press Enter to apply the changes
- Cursor adds imports and documentation
Chat with Agent
- Open the Chat panel (Ctrl+I)
- Ask: “Add tests for this function and run them”
- Agent will create a test file, write test cases, and run them for you
Bonus
Advanced features:
Handoff work to Background Agent
Handoff work to Background Agent
- Open the Background Agent control panel (Ctrl+E)
- Ask: “Find and fix a bug in this project”
- Background Agent will:
- Spin up remote VM
- Explore your project
- Detect bugs
- Propose fixes
Review and apply changes.
Write a rule
Write a rule
- Open the command palette (Ctrl+Shift+P)
- Search: “New Cursor Rule”
- Name it (e.g.,
style-guide
) - Select Rule Type “Always”
- Define your style:
Set up an MCP server
Set up an MCP server
- Visit our MCP directory
- Choose a tool
- Click “Install”
Servers can also be installed manually:
- Open Cursor Settings (Ctrl+Shift+J)
- Go to “Tools & Integrations”
- Click “New MCP Server”
Next steps
Explore these guides to learn more:
Working with Context
Provide effective context for better results
Selecting Models
Choose the right model for your task
Learn all Cursor concepts and start building!