Getting Started
Build a native desktop app in TypeScript in under 5 minutes. By the end of this section you’ll have:
- a running dev window with HMR on both the frontend and the backend,
- a typed RPC boundary — rename a function in
backend/main.tsand the TypeScript compiler catches every stale frontend call, - a single-file
.exe/ binary inrelease/, around 6.6 MB forliteor 44 MB forfull, that you can ship as-is.
Install prerequisites
Bun is required. On Linux you also need the WebKitGTK dev packages — see Installation.
Scaffold a project
bunx @tynd/cli create my-appThe CLI asks for a project name, a frontend framework (React, Vue, Svelte, Solid, Preact, Lit, or Angular), and a runtime mode (lite or full).
Run it
cd my-app
bun run devA native window opens with your frontend + HMR. Save backend/main.ts — the backend hot-reloads without tearing down the window.
Ship it
tynd build # raw binary
tynd build --bundle # + platform installers (.app/.dmg, .deb/.rpm/.AppImage, NSIS/MSI)Output lands in release/.
Keep reading
Last updated on