Learn to Get Started with Cursor & the Agent

Welcome! This guide will help you download Cursor, set it up, and start using the powerful Agent feature to help you code. No experience needed—just follow along!

Step 1: What is Cursor?

Cursor is a modern, AI-powered code editor that helps you write, understand, and improve code faster. It features an integrated Agent (AI assistant) that can answer questions, generate code, and help you learn programming.

Step 2: Download and Install Cursor

  1. Go to the Cursor Download Page.
  2. Choose your operating system:
    • Windows: Download the .exe installer and run it.
    • macOS: Download the .dmg file, open it, and drag Cursor to your Applications folder.
    • Linux: Download the .AppImage or follow the instructions for your distribution.
  3. Open Cursor after installation is complete.

Step 3: Opening Cursor for the First Time

  1. When you launch Cursor, you'll see a welcome screen.
  2. You can open a folder, create a new file, or explore the interface.
  3. Take a moment to look around—Cursor is similar to other code editors, but with built-in AI features!

Step 4: Meet the Agent

  1. The Agent is Cursor's built-in AI assistant, ready to help you with coding questions, explanations, and code generation.
  2. To open the Agent panel, look for the chat icon (usually in the sidebar) or press Cmd+I (Mac) or Ctrl+I (Windows/Linux).
  3. A chat window will appear where you can type your questions or requests.

Step 5: How to Use the Agent

  1. Type a question or prompt in the Agent chat. For example:
How do I write a Python function that adds two numbers?
  1. The Agent will respond with an explanation and example code.
  2. You can ask follow-up questions, request code in different languages, or ask for explanations of errors.
  3. Try these example prompts:
    • "Explain what a variable is in JavaScript."
    • "Generate a simple HTML page with a button."
    • "How do I fix a syntax error in Python?"
  4. You can copy code from the Agent's response and paste it into your files, or ask the Agent to make changes directly if supported.

Step 6: Next Steps

You're ready! Enjoy coding with Cursor and your new AI Agent assistant!