
Tauri
tauri-apps/tauriSmall, fast desktop and mobile apps with a web frontend
PersonalEnterpriseDeveloper toolsDesktopMobileLibrary / SDKPermissiveAt a glance
- stars on GitHub
- 113k
- contributors
- 623+
- last commit
- latest release, last week
- tauri-cli-v2.12.6
- license
- Apache-2.0
About
Tauri builds desktop apps for Windows, macOS and Linux, and mobile apps for iOS and Android, from any web frontend with a backend written in Rust. Instead of shipping a browser, it uses the web view already on the system (WebView2, WKWebView or WebKitGTK), so apps stay small. It includes a bundler for installers such as .msi, .dmg, .deb and .AppImage, a self-updater for desktop apps, system tray icons and notifications.
From the repository: “Build smaller, faster, and more secure desktop and mobile applications with a web frontend.”
What is Tauri used for?
Tauri is used to build installable apps with a web interface: you write the screens in HTML, CSS and JavaScript with any frontend framework, and the parts that need the system in Rust. One codebase produces Windows, macOS and Linux apps, and also iOS and Android apps. Tauri renders through the operating system's own web view and does not start a local web server, and its bundler creates the usual installers for each system. It suits tools and utilities where a small download matters, and teams that already use Rust or want to learn it.
How does Tauri compare with Electron?
Electron, in our catalog, ships its own Chromium and Node.js with every app, so the app looks and behaves the same everywhere and you can write all of it in JavaScript; the cost is a large download. Tauri uses the web view already on the system, so a minimal app can be under 600 KB, but your interface runs in WebView2 on Windows, WebKit on macOS and iOS, and WebKitGTK on Linux, which support web features differently. Tauri's backend is Rust, and its docs say each major and minor release gets a security audit. Bundling Chromium is the most-voted open feature request for Tauri.
What are the alternatives to Tauri?
Electron, in our catalog, is the established choice when you want one rendering engine everywhere and the whole app in JavaScript. Wails, also in our catalog, works like Tauri with the system web view but uses Go for the backend: pick it if your team knows Go better than Rust. Flutter, in our catalog too, draws its own interface in Dart instead of HTML and covers mobile, desktop and web. Dioxus, also in our catalog, lets you write the interface in Rust as well, for web, desktop and mobile. NW.js, another catalog project, bundles Chromium and Node.js like Electron.
What do I need to build a Tauri app?
You need Rust, installed with rustup, on every system, and Node.js only if your frontend uses a JavaScript framework. On Windows, install the Microsoft C++ Build Tools with Desktop development with C++, and WebView2, which is already part of Windows 10 (version 1803 and later) and Windows 11. On macOS, install Xcode or its Command Line Tools. On Linux, install WebKitGTK 4.1 development packages and build tools, such as libwebkit2gtk-4.1-dev and build-essential on Debian. Android builds need Android Studio and the NDK; iOS builds need a Mac with full Xcode. Then run npm create tauri-app@latest.
What are Tauri's limits?
The system web view is both its strength and its main limit. Features and bugs differ between WebView2, WebKit and WebKitGTK, macOS versions that no longer get updates also keep an old WebKit, and Tauri's own docs say WebKitGTK versions on Linux vary widely between distributions. You need to test on each platform. Custom backend code needs Rust, which is a hurdle for web-only teams. Popular open requests include dragging files out of the app into the file system and Flatpak bundles, and there are open Linux issues with Wayland and NVIDIA drivers.
Is Tauri free for commercial use?
Yes. Tauri's code is under the MIT and Apache-2.0 licenses, and the repository includes both. Both are permissive, so you can build and sell closed-source apps with it. The Tauri logo is under a separate CC BY-NC-ND license, so do not reuse it in your own branding. Tauri is a programme within the Commons Conservancy and is funded through Open Collective and sponsors such as CrabNebula. There is no paid edition of the framework.
Why it's in the catalog
Choose Tauri over Electron when download size matters and you are ready to write some Rust, or to rely on plugins, for access to the system. Test on every platform, because each one renders your app with a different engine and Linux WebKitGTK versions vary the most. Pick Electron instead if you need the same Chromium engine everywhere.
Get it
npm create tauri-app@latest
sh <(curl https://create.tauri.app/sh)
irm https://create.tauri.app/ps | iex
Downloads
All releases on GitHub ↗Latest release: tauri-cli v2.12.6, . Its files were downloaded 8,449 times.
All files (8)
Windows
- cargo-tauri-aarch64-pc-windows-msvc.zip7.2 MB · 39 downloads
- cargo-tauri-x86_64-pc-windows-msvc.zip7.6 MB · 2.7k downloads
macOS
- cargo-tauri-x86_64-apple-darwin.zip8.2 MB · 1.2k downloads
- cargo-tauri-aarch64-apple-darwin.zip7.6 MB · 389 downloads
Linux
- cargo-tauri-aarch64-unknown-linux-gnu.tgz8.3 MB · 191 downloads
- cargo-tauri-x86_64-unknown-linux-gnu.tgz8.8 MB · 3.9k downloads
- cargo-tauri-aarch64-unknown-linux-musl.tgz8.3 MB · 43 downloads
- cargo-tauri-riscv64gc-unknown-linux-gnu.tgz8.7 MB · 36 downloads
These files come from the project's GitHub release. DigGitHub does not check them.
Alternatives
All alternatives →| Project | Stars | Last commit | License | Worth |
|---|---|---|---|---|
| 113k | Apache-2.0 | 85 | ||
| 32k | MIT | 80 | ||
| 181k (best) | BSD-3-Clause | 75 | ||
| 127k | MIT | 80 | ||
| 54k | MIT | 86 (best) |
▲ marks the most stars and the best worth score.
