Search for a command to run...
Install the Cursor AI editor on Linux, macOS and Windows from the official apt and yum repositories, import your VS Code setup and start using Agent and Plan Mode.
Cursor is a VS Code fork with AI built in. It keeps the extensions, keybindings and settings you already use, and adds an agent that can read and change the whole project.
The apt and yum packages give you a desktop entry, automatic updates and the cursor
CLI. The AppImage works, but it does not update itself and it does not add the CLI to
your PATH.
# Add Cursor's signing key
curl -fsSL https://downloads.cursor.com/keys/anysphere.asc \
| gpg --dearmor \
| sudo tee /etc/apt/keyrings/cursor.gpg > /dev/null
sudo chmod go+r /etc/apt/keyrings/cursor.gpg
# Add the repository
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
# Install
sudo apt update
sudo apt install cursor
# Verify
cursor --version# Ask it to explain the codebase first
Explain this codebase. Point me to the main entry points and anything I should read
before making changes.
# Ask for a plan before it writes code| Mode | What it does |
|---|---|
| Ask | Answers questions, reads files, does not change anything |
| Agent | Reads, edits files and runs commands to complete a task |
Plan Mode (Shift+Tab) | Researches and produces an implementation plan, then waits for your approval before writing code |
A good first task in a new repository:
Suggest three small, safe improvements to this codebase. Explain the tradeoffs and wait
for me to choose one.Rules are persistent instructions that apply to every request in a project. Create
.cursor/rules/*.mdc in the repository and commit them:
---
description: How we write and test code in this service
globs: ["src/**/*.ts"]
alwaysApply: false
---
- Use named exports, never default exports.
- Every new function needs a unit test in `__tests__`.
- Run `npm run lint && npm test` before you tell me a change is done..cursor/rules/ so the whole team gets the same behaviour..cursorignore to keep secrets, build output and vendored code out of the context.Install the AI editors, terminal agents and IDE extensions teams are using right now — Cursor, Zed, Claude Code, Gemini CLI, Aider, Goose, OpenCode and more.
Install the open-source Zed editor with its install script, pin a specific version, migrate your VS Code settings and use the built-in agent panel and inline assistant.