Before you start
- Node.js 20.19 or later.
- macOS (Apple silicon or Intel), Linux (x64 or arm64), or Windows (x64, a preview build), for the Xano Engine. See Supported platforms.
On Windows on Arm? There is no Xano Engine build for your machine yet. Wherever this page
says
npm run xano:deploy, run npm run xano:deploy:ephemeral instead: it deploys the same code
to an ephemeral in Xano’s cloud. That needs a Xano account, so sign in first
(Connect to Xano). See
supported platforms.Run it
1
Scaffold the project
init writes a TypeScript backend under xano/, a React frontend under frontend/, and
the xano:* scripts, then runs npm install. For Svelte pass --framework svelte; for a
backend with no frontend, --framework none. In a terminal it asks which one, and Enter
takes React.2
Deploy the backend to the Xano Engine
- macOS, Linux and Windows x64
- Windows on Arm
xano/ and deploys it to the Xano Engine on your machine. The first
run downloads the Engine for your platform and pins its version in package.json.
Later runs start in seconds and work offline..env.local as VITE_XANO_HOST.3
Start the frontend
VITE_XANO_HOST from .env.local, so the frontend calls the backend you just
deployed. Open the URL Vite prints.Change something
Edit a file underxano/, then run npm run xano:deploy again. Each redeploy to the Engine
keeps the rows already in your tables (the script passes --keep-data). Keep npm run dev
running. npm run xano:deploy -- --reset gives you a clean, re-seeded backend.
Next
- What you built: the files
initwrote, which ones to commit, and which script deploys where. - Your first change: add a table and an endpoint, and call it from the frontend.
- Connect to Xano: create a free account and deploy the same code to Xano’s cloud.