How to deploy a Cursor app

AI-first code editor. Your code lives on your computer, so deploying works like any normal project: push to GitHub, connect a host.

Short answer

Easiest: Vercel. Cheapest: Cloudflare Pages. Database: Neon. Login: Clerk. Copy your environment variables into the host before the first build, and add the new URL to your auth provider.

Easiest

Vercel

Zero-config for Next.js and Vite; personal projects free on Hobby.

Cheapest

Cloudflare Pages

Free, commercial use allowed, unlimited static bandwidth.

What Cursor gives you

Anything — whatever you asked it to build (Next.js, Vite, Astro, Express, Python…).

Built-in hosting

Since 5 Nov 2026, Live Apps: on paid plans with cloud agents (Premium $30/month and up), a cloud agent can build, host and publish an app with Postgres and Cursor sign-in. Otherwise, you pick the host.

  • Free: No hosting on Free or Plus (no cloud agents). Cursor hasn't published a separate hosting price or limits for Live Apps.
  • Custom domain: Live Apps: you pick a unique app URL; using your own domain isn't documented. On your own host, set it up there. Custom domain cost & setup for every builder

First: which kind of project do you have?

Type How to tell What the host needs
Static / SPA (Vite, Astro, plain HTML) Build produces a folder of HTML/JS/CSS (dist/, build/, out/). Cloudflare Pages, Netlify, Vercel or DigitalOcean static — all free.
Next.js / SSR framework next.config.* or a server adapter. Vercel (native), Netlify or Cloudflare (via OpenNext).
Long-running server (Express, FastAPI, bots, websockets) A start command like node server.js or uvicorn that must keep running. Railway, Render, Fly.io or DigitalOcean App Platform.

Get your code out

  • Create a GitHub repo and push (Cursor's Source Control panel or git in the terminal).

Build settings

Build command
Whatever package.json says (usually npm run build)
Output
Depends on framework
Node
Match your local version

Environment variables to copy

  • Everything in your local .env — never commit it; add each value in the host dashboard.

Blank page after deploying?

Gotchas

  • Commit a lockfile (package-lock.json / pnpm-lock.yaml) so the host installs the same versions.
  • Ask Cursor to add a .gitignore that excludes .env before your first push.

Step-by-step guides for Cursor

Database & login

Data: Neon (opens in a new tab): Free: 100 projects, 100 CU-hours per project/month, 1 GB storage per project (20 GB total). Compare databases · Which database to pick

Auth: Clerk (opens in a new tab): Hobby: free — 50,000 monthly retained users per app, up to 3 social connections.

Common errors with Cursor apps

Related guides

Common questions

What is the easiest way to host a Cursor app?

Vercel. Zero-config for Next.js and Vite; personal projects free on Hobby.

What is the cheapest way to host a Cursor app?

Cloudflare Pages. Free, commercial use allowed, unlimited static bandwidth.

Does Cursor have built-in hosting?

Since 5 Nov 2026, Live Apps: on paid plans with cloud agents (Premium $30/month and up), a cloud agent can build, host and publish an app with Postgres and Cursor sign-in. Otherwise, you pick the host. No hosting on Free or Plus (no cloud agents). Cursor hasn't published a separate hosting price or limits for Live Apps.

Can I use a custom domain with Cursor?

Live Apps: you pick a unique app URL; using your own domain isn't documented. On your own host, set it up there.

What build command and output folder does a Cursor app use?

Build command Whatever package.json says (usually npm run build); output: Depends on framework.