Cursor IDE Complete Tutorial for Beginners India 2026
Step-by-step setup, free tier, keyboard shortcuts & your first AI-powered project
Cursor has become the go-to AI code editor for developers who want more than just autocomplete. Built as a fork of VS Code, it feels familiar but adds powerful AI capabilities that can genuinely speed up your development workflow. This guide walks you through everything from installation to building your first AI-powered project — with all pricing and setup details relevant to Indian developers.
What You'll Learn
- Installing Cursor and importing VS Code settings
- Understanding free vs Pro tiers (with INR pricing)
- Every keyboard shortcut you need to know
- Tab completion, Cmd+K inline edits, and Cmd+L chat
- Setting up .cursorrules for project-specific AI behavior
- Building your first project with Cursor's AI features
Installing Cursor on Your Machine
Cursor runs on macOS, Windows, and Linux. Download it from cursor.com.
macOS
# Download the .dmg from cursor.com
# Or use Homebrew:
brew install --cask cursor
Windows
Download the .exe installer from cursor.com. Run it and follow the setup wizard. Cursor installs in your AppData folder by default.
Linux (Ubuntu/Debian)
# Download the .AppImage from cursor.com
chmod +x cursor-*.AppImage
./cursor-*.AppImage
First Launch Setup
When you open Cursor for the first time, it offers three important setup steps:
- Import VS Code settings — Click "Import" to bring over all your extensions, themes, keybindings, and settings. This is a one-click process.
- Choose your AI model — Select from available models. On the free tier, you get GPT-4o-mini for completions.
- Sign in — Create a Cursor account or sign in with GitHub/Google.
Tip for Indian developers: If you are on a slower internet connection, the first launch may take 2-3 minutes to index your project. Subsequent launches are much faster since the index is cached locally.
Free Tier vs Pro: What Indian Developers Get
Understanding the pricing helps you decide whether the free tier is enough for your needs.
| Feature | Free (Hobby) | Pro | |---------|-------------|-----| | Price | Free forever | $20/month (~1,680 INR) | | Tab Completions | 2,000/month | Unlimited | | Premium Requests | 50 slow/month | 500 fast/month | | Models | GPT-4o-mini (completions) | Claude Sonnet 4.6, GPT-4o, Gemini 2.5 Pro | | Composer | Limited | Unlimited | | Agent Mode | Not available | Full access |
For students: Cursor does not currently offer a specific student discount, but the free tier is generous enough for learning and personal projects. If you are a student at an Indian university, check if your institution provides any software stipends.
Payment methods: Cursor accepts international credit/debit cards. If you have a Visa or Mastercard enabled for international transactions, it works from India. Some developers use virtual cards from services like Jupiter or Fi to manage the subscription.
Essential Keyboard Shortcuts
These are the shortcuts you will use daily. Memorize the top five and you will be significantly faster.
The Big Three
| Shortcut | Action | When to Use |
|----------|--------|-------------|
| Tab | Accept AI completion | While typing — Cursor predicts your next edit |
| Cmd+K (Mac) / Ctrl+K (Win) | Inline edit | Select code and describe the change you want |
| Cmd+L (Mac) / Ctrl+L (Win) | Open chat | Ask questions about your code or codebase |
Composer and Agent
| Shortcut | Action |
|----------|--------|
| Cmd+I / Ctrl+I | Open Composer (multi-file edits) |
| Cmd+Shift+I / Ctrl+Shift+I | Toggle Agent mode in Composer |
Navigation and Context
| Shortcut | Action |
|----------|--------|
| @file | Reference a specific file in chat |
| @codebase | Search entire codebase for context |
| @docs | Reference documentation |
| @web | Search the internet |
| Cmd+Shift+P | Command palette (same as VS Code) |
| Cmd+P | Quick file open |
Tab Completion: Your AI Pair Programmer
Tab completion is the feature you will use most. As you type, Cursor predicts what you want to write next and shows a ghost text suggestion. Press Tab to accept, or keep typing to ignore it.
How Tab Completion Works
Cursor's Tab completion goes beyond simple autocomplete. It predicts:
- Multi-line completions — It can suggest entire function bodies, not just single lines
- Next edit prediction — After you make a change in one place, it predicts the corresponding change in the next place
- Pattern matching — It learns from your codebase patterns and suggests consistent code
Example: Building a React Component
Start typing a component and watch Tab completion in action:
// Type this much:
export function UserCard({ name, email
// Cursor suggests:
export function UserCard({ name, email, avatar }: UserCardProps) {
return (
<div className="rounded-lg border p-4">
<img src={avatar} alt={name} className="h-12 w-12 rounded-full" />
<h3 className="font-semibold">{name}</h3>
<p className="text-sm text-gray-500">{email}</p>
</div>
);
}
Press Tab to accept the entire suggestion, or Escape to dismiss it.
Tips for Better Tab Completions
- Write descriptive function names —
calculateGSTAmountgets better completions thancalc - Add type annotations — TypeScript types give Cursor more context to predict accurately
- Keep related files open — Cursor uses open tabs as context for completions
- Write a comment first — A comment describing what the function should do dramatically improves the suggestion
Cmd+K: Inline AI Edits
Cmd+K is for targeted edits. Select a block of code, press Cmd+K, and describe what you want to change. Cursor modifies the selected code inline without opening a separate panel.
Common Cmd+K Use Cases
Refactoring:
Select a function → Cmd+K → "Convert this to use async/await instead of .then() chains"
Adding error handling:
Select an API call → Cmd+K → "Add try-catch with proper error handling and a loading state"
Converting code:
Select a class component → Cmd+K → "Convert to a functional component with hooks"
Explaining code:
Select unfamiliar code → Cmd+K → "Add detailed comments explaining what each line does"
Cmd+K Best Practices
- Be specific. "Make this better" gives poor results. "Add input validation for email and phone with Indian formats" gives excellent results.
- Include constraints. "Optimize this but keep the same function signature" prevents unwanted changes.
- Reference patterns. "Refactor this to match the pattern used in UserService.ts" helps Cursor understand your codebase conventions.
Cmd+L: Chat with Your Codebase
Cmd+L opens the AI chat panel on the right side. Unlike Cmd+K which edits code inline, Cmd+L is for conversations — asking questions, getting explanations, and exploring solutions.
Effective Chat Prompts
Understanding code:
What does the middleware in src/middleware.ts do? Walk me through the auth flow step by step.
Debugging:
I'm getting a "Cannot read property 'map' of undefined" error in UserList.tsx.
The data comes from /api/users. What could cause this?
Architecture questions:
I need to add a notification system. Given the existing patterns in this codebase,
what's the best approach? Should I use WebSockets or polling?
Using @ References in Chat
The @ symbol is how you give Cursor specific context:
@UserCard.tsx— Include a specific file in the conversation@codebase— Let Cursor search your entire project for relevant code@docs nextjs.org— Reference external documentation@web "React Server Components best practices"— Search the internet
Example with context:
@UserCard.tsx @UserService.ts
The UserCard shows stale data after an update. How should I handle
cache invalidation between these two files?
Setting Up .cursorrules
The .cursorrules file goes in your project root and tells Cursor how to behave for your specific project. This is essential for consistent AI output across your team.
Basic .cursorrules Template
Create a .cursorrules file in your project root:
You are an expert developer working on an Indian fintech application.
## Tech Stack
- Next.js 15 with App Router
- TypeScript (strict mode)
- Tailwind CSS 4
- PostgreSQL with Prisma
## Conventions
- Use Server Components by default
- 'use client' only when state or event handlers are needed
- All API routes go in app/api/ with proper error handling
- Follow RESTful naming: plural nouns
- Use INR (₹) for all currency displays
- Date format: DD/MM/YYYY (Indian standard)
- Phone validation: Indian 10-digit format
## Code Style
- Functional components only, no class components
- Use named exports, not default exports
- Prefer const arrow functions for components
- Always add TypeScript types — no 'any'
- Error messages should be user-friendly, in English
For a deeper dive into .cursorrules, see our guide on .cursorrules templates for Indian projects.
Where .cursorrules Lives
your-project/
├── .cursorrules ← Project-level rules
├── .cursor/
│ └── rules/
│ ├── react.md ← Topic-specific rules
│ └── api.md ← Rules for API development
├── src/
└── package.json
You can also create rules in .cursor/rules/ for more granular control, such as different rules for frontend and backend code.
Your First AI-Powered Project
Let us build a simple GST calculator app using Cursor's AI features. This walkthrough uses React + TypeScript.
Step 1: Create the Project
Open Cursor's terminal (Ctrl+ `) and run:
npx create-next-app@latest gst-calculator --typescript --tailwind --app
cd gst-calculator
Step 2: Use Composer for the Main Feature
Press Cmd+I to open Composer and type:
Create a GST calculator component at app/page.tsx with:
- Input for base amount in INR (₹)
- Dropdown to select GST slab: 0%, 5%, 12%, 18%, 28%
- Display: Base Amount, GST Amount, Total Amount
- Use Tailwind CSS for styling with a clean, professional look
- Add proper TypeScript types
- Format numbers with Indian number system (lakhs, crores)
Composer creates the file with proper Indian number formatting and all the logic.
Step 3: Use Cmd+K to Refine
Select the number formatting function and press Cmd+K:
Add support for the Indian numbering system — format as ₹1,23,456 not ₹123,456
Step 4: Use Chat to Add Features
Press Cmd+L and ask:
@page.tsx I want to add a history feature that saves the last 10 calculations
to localStorage. Show them in a table below the calculator.
Step 5: Debug with AI
If something does not work, select the error in the terminal and press Cmd+L:
I'm getting this error when I try to read from localStorage.
This is a Next.js app with Server Components. What's wrong?
Cursor will explain that localStorage is not available in Server Components and suggest adding 'use client' or using a useEffect hook.
Cursor Settings to Configure
Open settings with Cmd+, and adjust these for the best experience:
{
"cursor.general.enableAutoImport": true,
"cursor.cpp.enablePartialAccepts": true,
"cursor.general.gitGraph": true,
"editor.tabCompletion": "on",
"editor.inlineSuggest.enabled": true
}
Partial accepts let you press Ctrl+→ to accept one word at a time from a suggestion, rather than accepting the whole thing with Tab.
Common Issues and Fixes
"Rate limit exceeded" on free tier
You have hit your monthly limit of 2,000 completions or 50 premium requests. Wait for the next billing cycle or upgrade to Pro.
Slow completions
If completions feel slow, check your internet speed. Cursor needs a stable connection. If you are on a mobile hotspot, switch to broadband for a better experience.
Extensions not working
Most VS Code extensions work in Cursor. If one does not, check if it is compatible with the VS Code version Cursor is based on. You can see this in Help > About.
Where to Go Next
Now that you have Cursor set up and understand the basics, explore these guides to go deeper:
- Cursor's full capabilities — Composer, Agent, Notepads — Master multi-file editing and autonomous mode
- .cursorrules templates for Indian projects — Ready-to-use rules for React, Next.js, and Python
- Cursor vs Copilot vs Claude Code comparison — Find the right tool for your workflow
- Cursor debug mode guide — Advanced debugging with AI assistance
Cursor is genuinely one of the best investments you can make in your development workflow. The free tier gives you enough to evaluate whether it works for you, and the Pro tier pays for itself within a few days of faster development. Start with Tab completions, graduate to Cmd+K and Cmd+L, and eventually you will find yourself using Composer and Agent mode for complex tasks that used to take hours.
Community Questions
0No questions yet. Be the first to ask!