Zum Inhalt springen

Lektion 2 · Getting Started

Install and Set Up Cursor

Install the Cursor editor on Windows, macOS or Linux, sign in, import your VS Code settings, pick safe first settings and prepare a practice project.

Setting up Cursor takes a few minutes. The part worth your attention comes after the installer: deciding what the AI may see, what happens to your data and what it may do without asking.

In this lesson you install the app, bring your editor habits with you, check a few important settings and create a safe practice project.

System requirements and download

As of December 2026, the official quickstart sends you to cursor.com/downloads and lists these platforms:

Platform Requirement and package
macOS macOS 12 (Monterey) or later, a .dmg installer for Apple silicon and Intel
Windows Windows 10 or later, an .exe installer
Linux apt (Debian, Ubuntu) or yum (Red Hat, Fedora) packages, or a portable AppImage

On Linux, the documentation prefers the apt or yum packages over the AppImage. The packages include automatic updates, desktop icons and command-line tools. Copy the repository setup commands from the official page rather than from a blog post, because signing keys and repository addresses can change.

Download installers only from the vendor's official pages. Search ads and look-alike sites are a common way to spread malware, and a code editor can read everything in your projects.

The rename to Grok Build may change the download page, the app name and the icons over time. If something looks different, follow the current official page.

First launch

  1. Install and open the app.
  2. Sign in with your account. The free plan is enough to try the basics.
  3. Open a folder. You work on one project folder at a time, and it is the agent's workspace.

Bring your VS Code setup

Cursor will feel familiar if you know Visual Studio Code. The official migration guide says:

  • Extensions, themes, settings and keybindings can be imported with a VS Code import option in the app's settings. You can also export a VS Code profile and import it by hand for finer control.
  • Default keyboard shortcuts match VS Code's.
  • Extensions come from the Open VSX registry, not from the Visual Studio Code Marketplace. Many popular extensions are there, but some are missing or behave differently.
  • The two apps are separate, so you can keep both and open the same project in each.

Before you rely on the new editor, check the extensions you use every day: your language support, formatter, linter and test runner. If one is missing, find out now, not in the middle of a deadline.

Settings to check first

Menu names move between versions, so look for topics rather than exact paths. Open the settings (the documented shortcut is Ctrl+Shift+J, or Cmd+Shift+J on a Mac) and look for these:

Topic Question to answer
Privacy Mode Is it on? It controls whether your code may be used for training.
Run Mode When may terminal commands run without asking you?
Tab Is it on, and for which file types?
Models Which models can you use, and which cost extra?
Ignore files Which files should the AI not read?

Each of these has its own lesson later: privacy, run modes, Tab, models and ignore files. For now, pick the careful option whenever you are unsure.

If your employer manages your account, some settings are fixed by an administrator. Ask which rules apply before you open company code.

Create a practice project

A small project with tests and Git is the perfect playground. These are ordinary shell and Git commands for macOS, Linux or Git Bash on Windows:

Terminal
mkdir cursor-practice
cd cursor-practice
git init
printf '__pycache__/\n.env\n' > .gitignore
mkdir shop tests

Then create shop/cart.py with this content. The code is real Python, and you can run it right here:

Python shop/cart.py: your practice code

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Commit it:

Terminal
git add .
git commit -m "Add cart total"

From now on, git diff shows what changed in tracked files, no matter who or what changed them. The first repository lesson explains these commands. (Real billing code should store money as integer cents; this tiny example uses decimals to stay short.)

Check your setup

Use this checklist before the next lesson:

TEXT
[ ] App installed from the official download page
[ ] Signed in
[ ] Daily extensions work (language, formatter, linter, tests)
[ ] Privacy and run mode settings reviewed
[ ] Practice project committed in Git
[ ] No real secrets or customer data in the practice folder

Keep a separate practice folder even after you know the tool well. It is the right place to try a new feature or a new model with little risk.

Updates and versions

AI editors are updated often, and behavior can change between versions. When you report a problem or follow a guide, note your version number, which you can find in the app's About window. The documentation also describes a minimum version policy, so very old versions may stop working with the hosted services.

In a team, agree on how updates happen. If something that worked yesterday behaves differently today, check the changelog and release notes before you blame your project. After a big update, repeat one small task in your practice folder to see that settings, extensions and approvals still behave as you expect.

Common mistakes

  • Opening your whole home directory as a project. The AI may then reach far more than you intend. Open one project folder.
  • Assuming an extension from VS Code exists here. Check Open VSX.
  • Skipping Git. Editor snapshots are helpful, but they are not version control.

Check your understanding

Quick check · 3 questions

of 3 answered You scored / 3 · perfect!

  1. 1. Which extension registry does the official migration guide name for the editor?

    Extensions come from Open VSX, so check that the ones you need are available there.
  2. 2. Why open one project folder and not your home directory?

    A narrow workspace helps keep unrelated and private files out of the working area.
  3. 3. What is the best first practice project?

    A small, versioned project with no sensitive data lets you experiment safely.

Summary

  • Download from the official page; the quickstart lists macOS 12 or later, Windows 10 or later and Linux packages.
  • You can import VS Code settings, but extensions come from Open VSX.
  • Review privacy, run mode, Tab, model and ignore settings early.
  • Build a small Git project with no secrets to practice in.

Next: Your First Cursor Session

Dein Fortschritt wird in diesem Browser gespeichert. Kein Konto nötig.