Cursor · Setup guide
How to set up Cursor
Install Cursor as an AI-native editor, turn Privacy Mode on before sensitive work, open a safe folder, and start in Ask mode so the first session explains code without writing files. Written for people who have never installed a developer editor.
The “Open Cursor” link goes to the vendor site. It is not an affiliate-tracked link on this page — no commission is claimed for that click. Affiliate disclosure.
Before you begin
- macOS 12 or later, Windows 10 or later, or a supported Linux distribution.
- A Cursor account (email sign-up is fine).
- A repository that can be opened without exposing production credentials.
Authentication
Cursor account sign-in
Account: Cursor account
Team and individual plans differ on usage pools, SSO, and whether Privacy Mode can be enforced for everyone.
Install or open it
1. Get the harness ready
These steps are written for beginners. On Mac, Terminal is the black/white text window where you type commands. On Windows, use PowerShell or Terminal. Use the OS tabs to hide steps that are not for your computer, then copy one command at a time.
- 01
Download Cursor on a Mac
MacOpen Safari or Chrome and go to cursor.com. Click Download (prefer the Apple Silicon build on M-series Macs). Open the .dmg, drag Cursor into Applications, then open Applications and double-click Cursor. If macOS only warns that the app was downloaded from the internet, click Open.
Cursor installation help - 02
If Mac says Cursor is damaged
MacThe common Gatekeeper failure is “Cursor.app is damaged and can’t be opened,” which Open does not fix. In Terminal run xattr -cr /Applications/Cursor.app, or install with Homebrew: brew install --cask cursor. Then reopen from Applications.
bashxattr -cr /Applications/Cursor.appYou should see: The command finishes without an error before you continue.
Cursor installation helpIf this fails
- The command exits with an error. Read the last few lines of output, fix the named issue, then re-run this step before continuing.
- 03
Download Cursor on Windows
WindowsGo to cursor.com and download the Windows installer. Prefer the User installer on locked-down or non-admin machines (installs under your profile). Avoid installing both User and System copies — dual installs break updates. If SmartScreen appears, choose More info → Run anyway only after confirming the publisher is Anysphere, Inc., then launch from the Start menu.
Cursor installation help - 04
Install on Debian/Ubuntu (apt)
LinuxOfficial repository path from Cursor’s quickstart. Prefer this over a random .deb so updates keep working.
bashcurl -fsSL https://downloads.cursor.com/keys/anysphere.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/cursor.gpg > /dev/null && echo "deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/cursor.gpg] https://downloads.cursor.com/aptrepo stable main" | sudo tee /etc/apt/sources.list.d/cursor.list > /dev/null && sudo apt update && sudo apt install cursorYou should see: The installer finishes without an error. Open a new terminal before the verify step so PATH updates apply.
Cursor quickstartIf this fails
- The install command errors, or the next verify step says “command not found”. Re-run the official install command with network access, then open a brand-new terminal window before verifying.
- 05
Install on RHEL/Fedora (dnf)
LinuxOfficial yum/dnf repository. AppImage from cursor.com/downloads is the portable fallback.
bashsudo tee /etc/yum.repos.d/cursor.repo << 'EOF' [cursor] name=Cursor baseurl=https://downloads.cursor.com/yumrepo enabled=1 gpgcheck=1 gpgkey=https://downloads.cursor.com/keys/anysphere.asc EOF sudo dnf install cursorYou should see: The installer finishes without an error. Open a new terminal before the verify step so PATH updates apply.
Cursor quickstartIf this fails
- The install command errors, or the next verify step says “command not found”. Re-run the official install command with network access, then open a brand-new terminal window before verifying.
- 06
Sign in, then enable Privacy Mode
Click Sign in and finish the browser login. Before opening a private repo, open Settings and turn Privacy Mode on if you do not want code used to improve Cursor or provider models. Privacy Mode is a setting (teams can enforce it) — it is not the same as “paid plan only.” Indexing still uploads chunks to build embeddings; embeddings and some metadata can persist even when plaintext is discarded.
Cursor data use - 07
Confirm Cursor launches
Quit and reopen Cursor from Applications (Mac) or the Start menu (Windows) if the first launch failed or stalled. You should reach the editor shell and be able to open File → Open Folder before continuing.
You should see: Cursor opens, sign-in completes, and you can open a folder. If macOS says the app is damaged, use the Gatekeeper fix in the step above — do not keep clicking Open on a quarantined copy.
Cursor installation helpIf this fails
- Mac says Cursor.app is damaged and can’t be opened. Run xattr -cr /Applications/Cursor.app, or brew install --cask cursor, then relaunch. The normal “downloaded from the internet → Open” dialog does not fix quarantine damage.
Repository or project
2. Start in the right place
Keep the first repository small, clean, and easy to roll back while you learn the harness’s permissions and context model.
- 01
Open a practice folder first
Use File → Open Folder… and pick a non-production project. Wait for indexing to finish before big questions. Add a .cursorignore for secrets (.env, keys, pem files) — note that ignore rules do not block the agent’s terminal or MCP from reading files if a command is allowed.
Cursor ignore files - 02
VS Code import (optional)
One-click VS Code import pulls settings, keybindings, themes, and extensions together — there is no “settings only” toggle. After import, disable competing AI completion extensions (for example Copilot) so Tab and shortcuts do not fight. If something breaks, remove extensions one at a time. You can also import later from Cursor Settings → General → Account → VS Code Import.
VS Code migration
First run
Ask mode: explain before Agent edits
Use this task to test the workflow before handing over a larger repository or production responsibility.
- 01Open Agent with Cmd/Ctrl+I, then switch to Ask mode (Shift+Tab cycles Ask / Plan / Agent / Debug).
- 02Ask Cursor to identify the request path for one small feature and list the tests that cover it — no file edits.
- 03Only after the explanation looks right, switch to Plan or Agent for a documentation-only or single-file change and review every diff.
Why this is safe: Ask mode cannot edit files, so the first session proves indexing and context without rewriting the repo.
Stop and review if
- You are still in Agent mode for an “explain only” task.
- The index or chat context includes secrets, .env files, or unrelated private folders.
- A suggested change is applied without a reviewable diff.
The operating boundary
Privacy, data, and cost
The setup is incomplete until you know what the harness can see, what account pays for it, and who approves a risky action.
Privacy
Privacy Mode controls whether Cursor and providers may use your code to improve models. Indexing is separate: embeddings and metadata can persist even when Privacy Mode is on. Ignore files reduce exposure but are not absolute security.
Training on code: opt in
Enterprise/team plans can add admin enforcement and residency options; confirm current Cursor enterprise docs for your org.
Sensitive repos: Enable Privacy Mode before opening sensitive trees, add .cursorignore for secrets, prefer a sanitized clone for pilots, and do not grant broad terminal auto-run around credential files.
Pricing
Hobby is free with limited Agent requests; Pro and higher add usage pools (and optional on-demand overages). Teams add per-seat admin features on top of model usage.
Model: hybrid
Watch out: The seat price is not the whole bill — Agent-heavy work can exhaust included model usage and switch to on-demand. Teams: Standard ~$40/seat vs Premium ~$120/seat (more usage at higher seat cost); Composer/Auto vs third-party model pools are separate. Composer Fast can run ~6× the token burn of standard Composer — avoid Fast as a default on tokens-only Usage dashboards. Self-serve Usage UI is tokens-only — use Spending/invoices for $. Grok 4.6 is in the first-party pool. Launch week from 2026-08-12 (still running as of 2026-08-14, no published cutoff): 2× included usage, plus a 50% Grok 4.6 on-demand token discount on Teams — do not size seats on those promos. Cloud Agent Builds add no extra Cloud Agent surcharge. Confirm current pool sizes on cursor.com/pricing before a team pilot.
When setup goes wrong
Mac says Cursor.app is damaged and can’t be opened.
Run xattr -cr /Applications/Cursor.app, or brew install --cask cursor, then relaunch. The normal “downloaded from the internet → Open” dialog does not fix quarantine damage.
Windows SmartScreen or Access denied on update.
Verify the publisher is Anysphere, Inc. Prefer a single User or System install — not both. Corporate AV may need an allowlist for the Cursor updater.
The repository context feels incomplete.
Check .cursorignore / .cursorindexingignore, re-index the workspace, and ask the agent which files it actually used.
Agent edits files when you only wanted an explanation.
Switch to Ask mode (Shift+Tab) for read-only work; use Plan for multi-file proposals before Agent applies changes.
Next steps
After the first successful run
Keep the pilot small, then compare surfaces and budget before a team rollout.
Setup details change quickly. The page was checked August 14, 2026; use the official source below before installing in a managed or production environment.