Skip to Content

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.ts and the TypeScript compiler catches every stale frontend call,
  • a single-file .exe / binary in release/, around 6.6 MB for lite or 44 MB for full, 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-app

The 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 dev

A 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