configuring-tauri-apps

Configure Tauri v2 applications through tauri.conf.json, Cargo.toml, and platform-specific overrides.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a Tauri v2 application requires coordinating multiple configuration files across JSON, TOML, and Cargo formats, and developers often struggle to remember which fields control window behavior, bundling, security, and platform-specific packaging. ## Core Features & Use Cases - Complete tauri.conf.json Reference: Covers root fields, build settings, window options, security capabilities, and bundle targets for Windows, macOS, Linux, Android, and iOS. - Platform and Environment Overrides: Explains JSON Merge Patch overrides via tauri.linux.conf.json, tauri.windows.conf.json, and dev/prod/beta configuration files with CLI --config flags. - Cargo.toml and package.json Integration: Documents Tauri feature flags, dependency versioning, and frontend script wiring. - Use Case: When shipping a desktop app, use this Skill to generate a production tauri.conf.json with correct bundle targets, updater plugin endpoints, and per-platform installer settings. ## Quick Start Ask the assistant to generate a Tauri v2 configuration for a desktop app with a system tray icon, a 1200x800 main window, and AppImage and deb bundle targets for Linux.

Frequently Asked Questions about configuring-tauri-apps

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

FAQPage Schema
How do I configure a Tauri v2 app window size and title?

Set window properties in the app.windows array of tauri.conf.json, including title, width, height, minWidth, minHeight, resizable, and center. Each entry defines one window, and you can add multiple entries for multi-window applications.

How to create platform-specific Tauri configuration files?

Create files like tauri.linux.conf.json, tauri.windows.conf.json, or tauri.macos.conf.json next to your base config. Tauri merges them using JSON Merge Patch (RFC 7396), so only the fields you specify are overridden per platform.

Does Tauri v2 support TOML or JSON5 config formats?

Yes, Tauri v2 supports Tauri.toml with the config-toml Cargo feature and tauri.conf.json5 with the config-json5 feature. TOML configs use kebab-case field names instead of camelCase.

What bundle targets does Tauri support on Linux?

Tauri supports appimage, deb, and rpm bundle targets on Linux. Configure them under bundle.linux in tauri.conf.json, where you can set deb and rpm dependencies such as libwebkit2gtk-4.1-0.

How do I override Tauri config at build time from the CLI?

Pass a config file with tauri build --config path/to/tauri.beta.conf.json, or provide an inline JSON string such as tauri build --config '{"bundle":{"identifier":"com.company.myapp.beta"}}'. The override merges with your base configuration.