
Getting Started Guide
How to Use Cursor
A practical guide to get you up and running with Cursor. Written by Delv Editorial, Delv Team.
Getting started with Cursor
In this guide, you’ll learn how to set up Cursor, perform your first coding task, and optimise your use of this AI-driven code editor. By the end, you'll be writing code more efficiently with Cursor's intelligent suggestions.Step 1: Sign up and set up
- Go to Cursor's website.
- Click on the “Get Started” button located prominently on the homepage.
- Choose the free tier option to create an account. You’ll need to provide your email and create a password.
- Download the Cursor desktop application compatible with your operating system (Windows or macOS).
- Install the application and log in using your newly created credentials.
Step 2: Your first code completion
- Open Cursor and create a new project or open an existing codebase by selecting “File” > “Open Folder”.
- Start typing a function or variable name in the editor. For example, type
function calculateSum(and pause for a moment. - Cursor will suggest completions based on your existing codebase and context. Use the arrow keys to navigate through the suggestions.
- Press “Tab” to accept a suggestion, and Cursor will auto-complete the code for you.
- To run your code, click on the “Run” button in the top toolbar or use the shortcut
Ctrl + Shift + R(Windows) orCmd + Shift + R(macOS).
Step 3: Get better results
- Enable "Agent Mode" by clicking on the toggle switch in the bottom right corner of the editor. This allows Cursor to execute tasks autonomously.
- For improved suggestions, ensure your code comments are clear and descriptive. Cursor understands context better with well-written comments.
- Use the “Settings” menu (gear icon) to adjust the completion frequency and enable/disable specific features according to your workflow preferences.
Pro tip
To save time, use keyboard shortcuts for common actions. Familiarise yourself with shortcuts likeCtrl + Space for suggestions and Ctrl + B to toggle the sidebar. This keeps your hands on the keyboard and speeds up your coding process.