#### Get started

# Quickstart

This guide gets you from install to your first useful change in Grok Build. You'll sign in, ask Grok Build to explain your codebase, make a small edit, and review the result.

1. **Install Grok Build and sign in**

   Download Grok Build. Open the app and sign in. Then pick a folder and start with a small task.

   [Download Grok Build](https://cursor.com/downloads) for your platform.

   **macOS**

   * macOS 12 (Monterey) and later
   * Native installer (.dmg)
   * Apple Silicon and Intel support

   **Windows**

   * Windows 10 and later
   * Native installer (.exe)

   **Linux**

   **Debian/Ubuntu (recommended)**

   ```bash
   # Add the Grok Build GPG key
   curl -fsSL https://downloads.cursor.com/keys/anysphere.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/cursor.gpg > /dev/null

   # Add the Grok Build 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

   # Update and install
   sudo apt update
   sudo apt install cursor
   ```

   **RHEL/Fedora**

   ```bash
   # Add the Grok Build repository
   sudo 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

   # Install Grok Build
   sudo dnf install cursor
   ```

   **AppImage (portable)**

   Download the `.AppImage` file from [cursor.com/downloads](https://cursor.com/downloads), then:

   ```bash
   chmod +x Cursor-*.AppImage
   ./Cursor-*.AppImage
   ```

   The apt and yum packages are preferred over AppImage. They provide desktop icons, automatic updates, and CLI tools.

2. **Ask Grok Build to explain your codebase**

   After you pick a folder, open Agent with `Cmd I` / `Ctrl I`. Ask Grok Build to explain the codebase and point out the main areas to read first.

   ```text
   Explain this codebase. Point me to the main entry points, key modules, and anything I should read before making changes.
   ```

   [Open in Grok Build](cursor://anysphere.cursor-deeplink/prompt?text=Explain%20this%20codebase.%20Point%20me%20to%20the%20main%20entry%20points%2C%20key%20modules%2C%20and%20anything%20I%20should%20read%20before%20making%20changes.)

   Grok Build will search your repo, read relevant files, and summarize how the project fits together. This is one of the fastest ways to get oriented in an unfamiliar codebase.

   Want a deeper walkthrough? See [Understand your codebase](/build/agents-window/learn/understanding-your-codebase).

3. **Make one small change**

   Once you understand the project, ask Grok Build to suggest a few safe improvements. Pick one and ask it to make the change.

   ```text
   Suggest three small, safe improvements in this codebase. Explain the tradeoffs and wait for me to choose one.
   ```

   [Open in Grok Build](cursor://anysphere.cursor-deeplink/prompt?text=Suggest%20three%20small%2C%20safe%20improvements%20in%20this%20codebase.%20Explain%20the%20tradeoffs%20and%20wait%20for%20me%20to%20choose%20one.)

   Good first tasks are low risk, like improving some copywriting or fixing small UI issues.

   If you already know what you want to change, ask for it directly and describe the result you want.

4. **Review the diff and verify the result**

   Now you can watch Grok Build work. The diff view shows changes made by the agent.

   When it finishes, review the diff and ask Grok Build to run the checks your project already uses. That can mean tests, the type checker, linting, or a local build.

   Want a stronger review workflow? See [Reviewing and testing code](/build/agents-window/learn/reviewing-testing).

5. **Use Plan Mode for bigger changes**

   Now that you know the basics, use Plan Mode for bigger changes. It works well when the task spans multiple files, needs research, or needs approval before coding.

   Press `Shift+Tab` in the agent input to toggle **Plan Mode**. Instead of writing code right away, Grok Build will:

   1. Research your codebase to find relevant files
   2. Ask clarifying questions about your requirements
   3. Create a detailed implementation plan
   4. Wait for your approval before building

   For a deeper walkthrough, see [Build new features](/build/agents-window/learn/creating-features).

## Next steps

[Agent Overview](/build/agents-window/agent/overview) — Learn about Agent's tools and capabilities

[Rules](/build/agents-window/rules) — Create persistent instructions for your project

[Understand your code](/build/agents-window/learn/understanding-your-codebase) — Learn how to get oriented in an unfamiliar repo

[Build new features](/build/agents-window/learn/creating-features) — See a full workflow for shipping larger changes
