Cursor: The AI-First Code Editor
Cursor is the most popular AI-powered code editor for vibe coding. It’s built from the ground up with AI at its core.
Who Should Use This Guide?
- Anyone who wants a powerful, professional-grade coding tool
- People comfortable with files and folders on their computer
- Those who want AI assistance but still want control
What you’ll get: Cursor installed and your first AI-generated code running.
Prerequisites: A computer (Mac, Windows, or Linux). That’s it.
What Makes Cursor Special?
Unlike browser-based tools, Cursor:
- Runs on your computer (works offline)
- Understands your entire project (not just one file)
- Can make changes across multiple files at once
- Has both chat AND autocomplete modes
Think of it as having an AI assistant who’s read your entire codebase and can help anywhere.
Key Features (Plain English)
1. AI Chat (Cmd/Ctrl + L)
Type a question, get an answer. Ask it to write code, explain something, or debug an error.
Example: “Why is my login form not saving the user’s email?“
2. Composer Mode (Cmd/Ctrl + Shift + I)
Describe an entire feature and Cursor builds it—across multiple files.
Example: “Add a dark mode toggle to this website”
3. Tab Autocomplete
Start typing and Cursor predicts what you want to write. Hit Tab to accept.
It’s like your phone’s keyboard predictions, but for code.
4. Inline Editing (Cmd/Ctrl + K)
Select some code, describe what you want changed, and Cursor rewrites it.
Example: Select a function → “Make this also validate email format”
Getting Started with Cursor
Step 1: Download and Install
- Go to cursor.com
- Click “Download”
- Install like any other app
- Open Cursor and sign in (free tier available)
Step 2: Install Node.js (For Web Projects)
Most web projects need Node.js:
- Go to nodejs.org
- Download the LTS (Long Term Support) version
- Install it
Verify it worked: Open Cursor’s terminal (Cmd/Ctrl + J) and type:
node --versionYou should see a version number like v20.10.0.
Step 3: Create Your First Project
- Press Cmd/Ctrl + Shift + I (Composer mode)
- Type this prompt:
Create a simple webpage with:
- A greeting that says "Hello, World!"
- A button that changes the greeting to "Hello, [User's Name]!"
- Modern styling with a dark theme- Cursor generates the code
- Open the terminal (Cmd/Ctrl + J)
- Run:
npx serveto see it in your browser
🎉 You just vibe-coded your first app.
Pro Tips
Use cursor.directory
Visit cursor.directory for pre-written prompts optimized for Cursor.
Create Cursor Rules
Add a .cursorrules file to your project with instructions:
This is a React project using TypeScript.
Always use functional components.
Prefer Tailwind CSS for styling.
Write comments explaining complex logic.Cursor will follow these rules for all AI responses.
Tag Documentation
When asking questions, tag relevant docs for better answers:
“Using the @React documentation, how do I create a context provider?”
Common Tasks
| What You Want | What to Do |
|---|---|
| Write new code | Composer (Cmd/Ctrl + Shift + I) |
| Fix an error | Copy error → Chat (Cmd/Ctrl + L) → Paste |
| Explain code | Select code → Chat → “Explain this” |
| Refactor | Select code → Inline Edit (Cmd/Ctrl + K) |
| Generate tests | ”Write tests for [function name]“ |
Pricing
| Plan | Price | What You Get |
|---|---|---|
| Free | $0 | Limited AI requests per month |
| Pro | $20/mo | Unlimited requests, all models |
| Business | $40/mo | Team features, admin controls |
Start with free. Upgrade when you hit limits.
Next Steps
→ Try a Project — Build something with Cursor
→ Google Antigravity - Compare with another powerful option
→ Automation Platforms - Connect your apps to other services