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 (
cargoandrustconPATH); - the platform build tools and WebView development packages listed below.
You write no Rust: the host is generated and compiled for you.
Install Bun
Section titled “Install Bun”curl -fsSL https://bun.sh/install | bashpowershell -c "irm bun.sh/install.ps1 | iex"Verify:
bun --versionInstall Rust
Section titled “Install Rust”Install Rust with rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shDownload and run rustup-init.exe from rustup.rs.
Verify:
rustc --version # 1.95.0 or newerIf 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.
Platform build tools
Section titled “Platform build tools”The MSVC build tools: install Visual Studio Build Tools with the “Desktop development with C++” workload. rustup-init.exe offers to install them.
The Xcode command line tools:
xcode-select --installA C toolchain (build-essential on Debian / Ubuntu) plus the WebKitGTK and GTK development packages listed in the next section.
OS-level WebView dependencies
Section titled “OS-level WebView dependencies”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.
WKWebView ships with macOS — nothing to install. Tynd apps require
macOS 14 (Sonoma) or later; .app bundles declare it as
LSMinimumSystemVersion.
End-user runtime (for installed .deb/.rpm/.AppImage):
# Debian / Ubuntusudo apt install libwebkit2gtk-4.1-0 libjavascriptcoregtk-4.1-0 libsoup-3.0-0Development (compiling the host):
sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev \ libjavascriptcoregtk-4.1-dev libsoup-3.0-dev \ libxdo-dev libxss-dev libpipewire-0.3-dev \ libgbm-dev libdrm-dev libclang-dev libxcb1-dev libxrandr-dev \ libdbus-1-dev libwayland-dev libegl-devFedora / RHEL:
sudo dnf install gtk3-devel webkit2gtk4.1-devel libsoup3-develFor screen capture builds, also install pipewire-devel, clang-devel,
libxcb-devel, libXrandr-devel, dbus-devel, wayland-devel, and mesa-libEGL-devel.
Install the CLI
Section titled “Install the CLI”You don’t have to install anything globally — use bunx:
bunx @tynd/cli create my-appOr add it to a project:
bun add @tynd/corebun 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.
Verify the install
Section titled “Verify the install”bunx @tynd/cli infoPrints the native tooling version, project root, Bun version, and resolved host/bundler paths without probing WebView or registry state.
Editor setup
Section titled “Editor setup”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.