Lesson 2 / 12Module 1. Basics
Academy/Vibe Coding/Lesson 2. Installing and configuring Cursor AI — complete guide
Beginner12 minutes

Lesson 2. Installing and configuring Cursor AI — complete guide

Cursor AI is currently the most powerful tool for vibe coding. It is built on top of VS Code but features deep AI integration. In this lesson, you will install it, get to know its interface, and open your first project.

Topic breakdown

Cursor is an AI-native code editor built on top of VS Code. Created by Anysphere and released in 2023. By 2026, Cursor became the most popular AI editor in the world, valued at $50 billion.

How Cursor differs from VS Code: in regular VS Code, you can install the Copilot plugin, but it is just an assistant. Cursor has built the entire editor around AI — Tab completion, Inline Edit, Chat, and Agent mode are built-in. It indexes all project files and understands context.

Installation is very simple: download from cursor.com (Windows .exe, Mac .dmg, Linux .AppImage), install, and upon opening you'll see an interface similar to VS Code. If you previously used VS Code, all extensions, themes, and shortcuts will import automatically.

Cursor's free plan (Hobby) provides 2000 AI completions and 50 slow premium requests per month. For starting and learning, this is completely sufficient. The Pro plan ($20/month) unlocks unlimited completions and fast premium models.

What you'll learn

  • Install Cursor AI on your computer
  • Know the interface elements — sidebar, terminal, chat panel
  • Understand how to transition from VS Code to Cursor
  • Open your first project folder and start chatting with the AI
  • Know the difference between the free and paid plans
  • Configure Cursor to suit your needs

Deep dive

The Cursor interface looks almost identical to VS Code, but there are important differences. The main one is the AI Chat panel on the right (Cmd+L). Through this, you communicate with the AI about your project. The AI sees all open files, the project structure, and even terminal output.

Another strength of Cursor is Tab completion. It's not standard autocomplete; it's an AI that understands the context of your code and suggests entire lines or blocks. You simply press Tab to accept the suggestion. This speeds up traditional programming by 3-5 times.

Privacy and Security: In Settings > Privacy, you can enable Privacy Mode — in this mode, your code is not used to train AI models. This is important for commercial projects. Privacy Mode works on the free plan too.

Choosing a model: Cursor works with multiple AI models — GPT-4o, Claude 3.5 Sonnet, and others. In Settings > Models, you can choose the default model. For beginners, the default setting (Auto) is best — Cursor chooses the optimal model for the task itself.

Ready prompt template

Copy and adapt
Create a new React project. The project should have: src/App.tsx (main component), src/index.css (global styles), and package.json. The App component should be a simple counter: clicking a button increases the number.

Why it works

Technology: 'React project' — AI knows which framework to use

Structure: 'src/App.tsx, src/index.css, package.json' — necessary files explicitly indicated

Functionality: 'counter — clicking increases the number' — simple but working result

Result: AI creates multiple files and makes them work together

Practice

  • Go to cursor.com and click 'Download'
  • Download and install the version for your OS
  • Open Cursor and sign in via your Google or GitHub account
  • Create a new folder on your computer: 'first-project'
  • Go to File > Open Folder and open the folder in Cursor
  • Press Cmd+L (Mac) or Ctrl+L (Windows) to open the Chat panel

Common mistakes

  • Using VS Code and Cursor at the same time — they can conflict, choose one
  • Misunderstanding the free plan — 2000 completions are enough, but don't waste them on useless prompts
  • Not changing settings — turning on Privacy mode and choosing a model are important settings
  • Working without an open folder — Cursor indexes the project folder when opened, this is crucial

Lesson FAQ

What is limited in the free plan?

The free plan includes 2000 Tab completions and 50 premium (slow) requests per month. Chat, Inline Edit, and Agent mode work but are limited in speed and quantity.

Does Cursor support VS Code extensions?

Yes, fully. Cursor is a fork of VS Code, so all extensions from the VS Code Marketplace work seamlessly: Prettier, ESLint, themes, language packs, etc.

Does it work on Mac M1/M2?

Yes, Cursor has native support for Apple Silicon (M1, M2, M3, M4). It runs fast and efficiently.

Next step

Installing Cursor AI: Step-by-Step Guide | Prompter