Use this when you want to run the app from your own computer instead of only through Cloudflare.
On macOS or Linux:
curl -fsSL https://vite.plus | bashOn Windows PowerShell:
irm https://vite.plus/ps1 | iexOpen a new terminal after installing Vite+. Enable the package-manager shims, then install dependencies:
corepack enable
pnpm installFrom the repository root:
pnpm run devpnpm run dev starts Convex and TanStack Start together. On the first run,
Convex may ask you to sign in and choose or create a development deployment.
The dev script also creates Convex Auth JWT keys in that development deployment
if they are missing. In a linked Git worktree, it automatically uses an isolated
local backend.
Open the local URL printed by Vite.
Use the normal pnpm run dev command in a linked Git worktree. Use the explicit
worktree command to force an isolated local backend in another checkout.
pnpm run dev:worktreeThe context launcher selects run-primary-dev.ts or run-worktree-dev.ts.
Both modes use the same Windows-safe service launcher. The three launcher files
carry one shared content hash in their first line, and pnpm run check verifies
that hash.