Skip to content

Installation

Tynd keeps application development TypeScript-first. The CLI and MCP server are native Rust executables; Bun runs application backends, frontend commands, and TypeScript config. Node.js is not a supported replacement for application code.

Every app runs on a native host that tynd dev and tynd build compile with Cargo, so a project needs:

  • Bun 1.3 or newer;
  • Rust 1.95 or newer (cargo and rustc on PATH);
  • the platform build tools and WebView development packages listed below.

You write no Rust: the host is generated and compiled for you.

Terminal window
curl -fsSL https://bun.sh/install | bash

Verify:

Terminal window
bun --version

Install Rust with rustup:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Verify:

Terminal window
rustc --version # 1.95.0 or newer

If cargo or rustc is missing, or rustc is older than 1.95, tynd dev and tynd build stop with a message pointing to https://rustup.rs. Run rustup update to upgrade an older toolchain.

The MSVC build tools: install Visual Studio Build Tools with the “Desktop development with C++” workload. rustup-init.exe offers to install them.

Tynd uses the platform WebView — Edge WebView2 on Windows, WKWebView on macOS, and WebKitGTK 4.1 on Linux. The CLI does not query registry state or preflight WebView availability during ordinary project commands.

WebView2 is available by default on current supported Windows releases. Locked-down/older images can install Evergreen separately. For distribution, choose skip, bootstrapper, offline-installer, or fixed-runtime behavior explicitly under bundle.windows; see the Bundling guide.

You don’t have to install anything globally — use bunx:

Terminal window
bunx @tynd/cli create my-app

Or add it to a project:

Terminal window
bun add @tynd/core
bun add -d @tynd/cli @tynd/host-src

@tynd/host-src holds the Rust sources the app host is compiled from; tynd create and tynd add add it as a dev dependency and tynd upgrade updates it. @tynd/cli resolves tynd and tynd-bundler from the matching @tynd/tooling-<os>-<arch> optional package. Neither runs a postinstall or downloads binaries at command time.

The first tynd dev or tynd build compiles the host and takes a few minutes (the CLI prints a notice). Later runs are incremental.

Terminal window
bunx @tynd/cli info

Prints the native tooling version, project root, Bun version, and resolved host/bundler paths without probing WebView or registry state.

Any TypeScript-capable editor works. tynd init creates/patches editor config for ES2022, bundler module resolution, @tynd/core/env, and the generated client-type path. No Tynd-specific language server is required.