Cursor and Expo

Edit page

Use Cursor to build, upgrade, debug, and deploy your Expo and React Native projects.


For the complete documentation index, see llms.txt. Use this file to discover all available pages.

Cursor is an AI-first code editor built on VS Code. It can edit across multiple files, run terminal commands, and work autonomously with its agent. Expo projects created with create-expo-app are scaffolded with an AGENTS.md file that Cursor reads directly. It can also check EAS and Expo CLI logs, fetch documentation from the Expo Model Context Protocol (MCP) Server, use Expo Skills for best practices, manage your EAS deployment workflow, and more.

Quick start

1

Download Cursor

Download and install Cursor from the Cursor website. For setup details, see the Cursor documentation.

2

Create a new Expo project

Create a project with the following command or ensure your existing project has the latest expo package installed.

Terminal
npx create-expo-app@latest --template default@sdk-56

4

Open your project and start prompting

Open your project in Cursor, then open the Agent panel and describe what you want to do.

5

Verify setup

In Cursor's Agent panel, enter the following prompt to confirm it can read your project:

Example prompt
Open package.json and tell me which Expo SDK version this project targets.

If the agent replies with the SDK version from package.json, the agent is reading your project correctly.

How Cursor reads your Expo project

When you open your project in Cursor, it reads the scaffolded AGENTS.md file at the project root, along with any nested AGENTS.md files in subdirectories. AGENTS.md points Cursor to the documentation for your project's Expo SDK version and holds any project-level instructions you add. AGENTS.md is committed to your project, so a developer's session starts from the same context inside Cursor.

You can also add Cursor-specific rules under .cursor/rules/.

Example prompts

After setup, describe Expo tasks in plain language. For example:

TaskExample prompt
Upgrade the SDKUpgrade this project to the latest Expo SDK and fix any breaking changes.
Add navigationAdd a tab navigator with Expo Router and a new settings screen.
Automate buildsCreate an EAS Workflow that builds the app on every pull request.
Debug a buildMy latest iOS build failed. Read the EAS Build logs and tell me what went wrong.
Add notificationsConfigure expo-notifications and show a local notification when the app launches.
Set up CI/CDCreate a CI/CD workflow that builds on every PR.
Add native UIAdd a SwiftUI picker component to my Expo app.
Check feedbackShow TestFlight feedback for my app.
Verify the UITake a screenshot and verify the blue circle view.

For more examples, see the Example prompts sections of Expo Skills and Expo MCP Server.