Deploy a Cursor app to production
Cursor is the AI-first code editor. You vibe-code a feature, hit Cmd+K, and end up with a working repo. Launchmatic is the deploy step Cursor doesn't have — push your branch, get a URL.
Why Launchmatic for Cursor
Cursor users often skip writing Dockerfiles entirely. Launchmatic auto-detects your runtime (Next.js, Vite, FastAPI, Rails, Go, Bun, Deno…) via Nixpacks and ships it. Preview deployments per branch are included on Pro.
Deploy in 5 steps
- 1In Cursor, open the integrated terminal:
Ctrl+\. - 2Push your repo to GitHub:
gh repo create --private --push. - 3Install the Launchmatic CLI:
npm i -g @launchmatic/cli. - 4Authenticate:
lm login. - 5Bind the repo:
lm init(single service) orlm monorepo init(apps/services workspace). - 6Deploy:
lm deploy(orlm upfor the whole monorepo). Add the GitHub integration in the dashboard so future Cursor commits auto-deploy.
Add this to `.cursor/rules/launchmatic.md` so Cursor's agent knows how to deploy:
# Deployment
This project deploys via Launchmatic. To ship a change:
1. `git push` — Launchmatic auto-builds and deploys on push to main.
2. For preview deploys, push to any other branch.
3. Read deploy logs with: `lm logs --service <name> --follow`FAQ
Will Cursor's auto-commit workflow trigger a deploy?+
Yes. Connect your GitHub repo to Launchmatic once and every push to your default branch deploys automatically — including commits Cursor makes from inside the editor.
Ready to deploy?
Free to start. No credit card. Auto-SSL on custom domains, managed Postgres, and per-branch preview deploys included.