Cursor Beginner's Guide
Everything you need to know to get started with Cursor
Getting Started with Cursor
Cursor is a fork of VS Code, which means if you know how to use VS Code, you already know how to use Cursor. All your extensions, keybindings, and themes will migrate over automatically with one click.
Step 1: Installation
- Go to Cursor.sh and download the installer.
- During setup, choose "Import from VS Code".
- Log in to create your free account.
Step 2: The Command K (Cmd+K) Magic
Cmd+K is your inline generation tool.
- Highlight a block of code and press
Cmd+Kto refactor it. - Press
Cmd+Kon an empty line and ask it to write a new function. - Example: Type "Create a React component for a newsletter signup form with Tailwind CSS" and watch it type.
Step 3: The Chat (Cmd+L)
The right sidebar houses the Chat.
By typing @, you can mention specific files, folders, or even official documentation (like @Next.js or @Tailwind).
- Use Case: Ask "Where is the authentication logic handled in this project?"
- Use Case: "Explain what
@utils.tsdoes line by line."
Step 4: Codebase Context
When you use the Chat, press Enter. If you press Option+Enter (or Alt+Enter), Cursor will scan your entire codebase to find the answer. This is incredibly powerful for large, legacy projects.