Basics
Tauri is a framework for building desktop applications using the programming language Rust. It uses Rust for the core of the application, but gives you the ability to define the user interface using JS/TS based frameworks like Vue or React.
Install and create a project
To install Tauri and create a new project, you need to have Rust installed. Afterwards run the following commands:
cargo install create-tauri-app --locked
cargo create-tauri-app
You can find alternative ways to install Tauri in the Tauri documentation.
You will get asked the following questions:
- The name of your project directory
- An Identifier (e.g. org.example.my-app)
- Language of your Frontend (Rust, TypeScript / JavaScript, .NET)
- With JS/TS: Your package manager (pnpm, yarn, npm, bun)
- With Rust: Your UI Template (Vanilla, Yew, Leptos, Sycamore)
- With JS/TS: Your UI Template (Vanilla, Vue, Svelte, React, Solid, Angular, Preact)
- With .NET: Your UI Template (Blazor)