setting-up-tauri-projects

Creates and initializes Tauri v2 projects for cross-platform desktop and mobile applications.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/dt418/better-shot-x --skill setting-up-tauri-projects-dt418
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setting-up-tauri-projects
Source: https://github.com/dt418/better-shot-x/tree/main/.agents/skills/setting-up-tauri-projects
Command: npx skills add https://github.com/dt418/better-shot-x --skill setting-up-tauri-projects-dt418

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a new Tauri project involves platform-specific system dependencies, Rust toolchain configuration, and frontend scaffolding choices that are easy to get wrong. This Skill guides you through the entire initialization process so your project builds correctly on the first attempt. ## Core Features & Use Cases - Platform Prerequisites: Covers system dependency installation for macOS (Xcode), Windows (C++ Build Tools, WebView2), and Linux (webkit2gtk packages for Debian, Arch, and Fedora). - Project Scaffolding: Walks through create-tauri-app for new projects and manual tauri init for adding Tauri to existing frontends. - Structure & Configuration: Explains the src-tauri directory layout, tauri.conf.json settings, capabilities permissions, and Rust entry points. - Use Case: You want to build a lightweight desktop app with a React frontend. Use this Skill to install Linux dependencies, scaffold the project with pnpm create tauri-app, and understand the generated configuration before running tauri dev. ## Quick Start Help me create a new Tauri v2 project with a React and TypeScript frontend on my Linux machine.

Frequently Asked Questions about setting-up-tauri-projects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Tauri project?

Run create-tauri-app with your package manager, such as pnpm create tauri-app or npm create tauri-app@latest. The interactive prompts ask for project name, bundle identifier, frontend language, and UI template, then scaffold a ready-to-run project.

How to add Tauri to an existing frontend project?

Install the Tauri CLI as a dev dependency with npm install -D @tauri-apps/cli@latest, then run npx tauri init. The init command creates the src-tauri directory and prompts for your dev server URL, build output directory, and frontend commands.

What system dependencies does Tauri need on Linux?

Tauri on Debian/Ubuntu requires libwebkit2gtk-4.1-dev, build-essential, libxdo-dev, libssl-dev, libayatana-appindicator3-dev, and librsvg2-dev. Arch and Fedora use equivalent webkit2gtk-4.1 packages installed through pacman or dnf.

Which frontend frameworks does Tauri support?

Tauri supports vanilla JavaScript/TypeScript, React, Vue, Svelte, SolidJS, Angular, and Preact through Vite-based templates. It also supports Rust-based frontends including Yew, Leptos, and Sycamore that compile to WebAssembly.

Can Tauri build mobile apps for Android and iOS?

Yes, Tauri v2 supports Android and iOS targets. Android requires Android Studio plus Rust targets like aarch64-linux-android, while iOS requires full Xcode on macOS and CocoaPods, initialized with tauri android init or tauri ios init.